You can uses j4j:param anywhere in a form.  Getting the param from faces works 
the same as the link param tag.
http://www.jsftutorials.net/param.html

Rhys 

-----Original Message-----
From: Lisaa [mailto:[EMAIL PROTECTED]
Sent: May 8, 2006 1:00 PM
To: [email protected]
Subject: Re: f:param and commandButton



Hi.,
 As martin said u can't use Parameters within command buttons.

But u could try like this:

<h:commandButton value="SUBMIT"   action="#{bean.actionMethod}">
<h:inputHidden  value="paramValue" binding="#{bean.property}" />
</h:commandButton>

and ur binding property in backing bean should be of type HTMLInputHidden.

Perhap this helps you.

Greetz.
--
View this message in context: 
http://www.nabble.com/f%3Aparam-and-commandButton-t1517965.html#a4284131
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to