3 Replies Latest reply on Apr 4, 2014 6:01 AM by Michal Petrov

    Migration from Richfaces 4 to 5 - Ajax issue

    David Cohen Newbie

      Hello,

       

      I've just migrate my project from RF4 to RF5 and I faces some ajax issues.

       

      For example, I've changed:

      <h:inputText value="#{user.businessunitfilter}">

        <a4j:ajax event="keyup" render="businessunitlist" />

      </h:inputText>

      to:

      <h:inputText value="#{user.businessunitfilter}">

        <r:ajax event="keyup" render="businessunitlist" />

      </h:inputText>

       

      In RF4 i was working fine, after changing to RF5 it behaves like there is no keyup event, I mean the value of "user.businessunitfilter" doesn't change (I've even printed logs in the getter and setter functions).

       

      This is how it is generated in the html code, it may be help:

      <input id="filterform:j_idt45" type="text" name="filterform:j_idt45" value="" onkeyup="RichFaces.ajax(this,event,{&quot;parameters&quot;:{&quot;javax.faces.behavior.event&quot;:&quot;keyup&quot;,&quot;org.richfaces.ajax.component&quot;:&quot;filterform:j_idt45&quot;} ,&quot;sourceId&quot;:this} )" />