0 Replies Latest reply on Jul 17, 2008 9:55 AM by mail

    a4j:actionparam problem

    mail

      Hi guys.
      I recently updated to Richfaces 3.2.0.SR1.
      Since then a4j:actionparam has not been working for me properly.

      Here is the situation.
      I have a textbox and on update of value in the checkbox I fire an ajax request which should send the new value back to the server, but in a different variable.

      Looks like this.


      <t:inputText value="#{agrAddenda.signDate}">
       <a4j:support event="onblur">
       <a4j:actionparam name="dummyName14" assignTo="#{agreementForm.addSignDate}" value="#{agrAddenda.signDate}"/>
       </a4j:support>
      </t:inputText>
      


      What the server gets is the old value of the text box. But before richfaces update, it was working fine.

      When I use f:setPropertyActionListener it works fine. That is the new value is sent to the server.

      <f:setPropertyActionListener target="#{agreementForm.addSignDate}" value="#{agrAddenda.signDate}"/>
      [/Code]
      
      In the new version, when using a4j:actionparam, on viewing the source code I can see the hard coded value from the text box in the parameter list to be sent back to the server on ajax.
      
      Any ideas why?
      
      Thanks & Regards
      Tathagat