Not in standard JSF. However if you used Seam you would be able to do exactly
that:
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/elenhancements.html
Is it possible to do something like this?
<h:commandButton action="#{bean.method1('text', false)}"/>
public String method1(int p1, boolean p2)
{
...
Thanks,
Johann
--
View this message in context:
http://www.nabble.com/Passing-parameters-to-an-action-method-tf4261705.html#a121
27740
Sent from the MyFaces - Users mailing list archive at Nabble.com.