0 Replies Latest reply on Jul 17, 2008 9:31 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}"/>
      


      Any ideas why?

      Thanks & Regards
      Tathagat