Passing parameters to a backing bean method
843842May 16 2005 — edited Oct 7 2006Hi all,
I�m trying to do the following :
Pass a parameter to a backing bean method that will return true or false to the rendered property of a commandButton component.
I need something like this :
<h:commandButton rendered="#{SecurityBean.rendered('123')}" id="cmdInsert" action="#{UserBean.saveUser}" value="#{messages.button_insert}" />
Where 123 is the code that i need to get in the Backing Bean method to consult if the user has access to this button.
I tried to use the f:param tag but does not work, any idea??
Thanks
Rogerio