Calling bean methods with arguments from JSF pages

前端 未结 3 788
长发绾君心
长发绾君心 2021-02-05 11:30

Is it possible to call bean methods & directly pass parameters to them from the view instead of requiring to first set the bean properties and then call methods without argu

3条回答
  •  耶瑟儿~
    2021-02-05 11:56

    Yes, it is.

    
    

    See this http://www.mkyong.com/jsf2/4-ways-to-pass-parameter-from-jsf-page-to-backing-bean/

提交回复
热议问题