myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Friedrich <trini...@eekboom.com>
Subject RE: Passing parameters to an action method
Date Mon, 13 Aug 2007 15:00:42 GMT
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.

Mime
View raw message