regards...
This is not good for me.
I navigate to another page and need this value on the second bean (not the first bean connected to the page sending the parameter).
The parameter is accessible to the second bean also.
From: Murat Hazer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2006 4:09 PM
To: MyFaces Discussion
Subject: Re: f:param and commandButton
You can use t:updateActionListener with command button, also you can read http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters for additional info.
regardsOn 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
______________________________________________________________________
--
Murat HAZER
Elektrik-Elektronik M�hendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
Murat HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/


