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
______________________________________________________________________

Reply via email to