commandButtons can't send parameters.
regards,
Martin
On 4/27/06, Uri Kalish <[EMAIL PROTECTED]
> wrote:
When I send a parameter from a commandButton I get a string containing the word "null" from the parameters map.
If I use a commandLink instead - it works.
Any ideas?
<h:commandButton
id="addNewLoadTestReservationButton"
action="">
value="#{msgs.addNewLoadTestReservationButton}"
styleClass="button_action" >
<f:param name="reservation" value="0"/>
</h:commandButton>
<h:commandLink
id="addNewLoadTestReservationLink"
action=""
<h:outputText value="#{msgs.addNewLoadTestReservationButton}"/>
<f:param name="reservation" value="0"/>
</h:commandLink>
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces


