+1 on t:updateActionListener since params is an *ugly* way...

On 4/27/06, Murat Hazer <[EMAIL PROTECTED]> wrote:
>
> You can use t:updateActionListener with command button, also you can read 
> http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters  for 
> additional info.
>
>
> regards
>
>
>
> 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="#{userReservationsTableViewBean.createNewLoadTestReservation}"
> >
> >        value="#{msgs.addNewLoadTestReservationButton}"
> >
> >        styleClass="button_action" >
> >
> >              <f:param name="reservation" value="0"/>
> >
> >  </h:commandButton>
> >
> >  <h:commandLink
> >
> >  id="addNewLoadTestReservationLink"
> >
> >        
> > action="#{userReservationsTableViewBean.createNewLoadTestReservation}">
> >
> >              <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/



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com

Reply via email to