1 Reply Latest reply on Apr 30, 2008 12:38 PM by Sergey Smirnov

    onchange event and ajaxsingle in a a4j:support in a datatabl

    Kerdudou Ronan Apprentice

      Hi all,

      Here is a strange behavior:
      I have an <h:inputtext> with a <a4j:support> in a <rich:datable>.

      1) I set event="onchange" on <a4j:support> :
      My ajax callback is called. I can see in my Bean the new value entered in the input field. Fine.

      2) I set event="onchange" and ajaxsingle="true" on <a4j:support> :
      My callback is called but the sent value is always the first row whatever inputText is changed !!

      3) I set event="onkeyup" and ajaxsingle="true" on <a4j:support> :
      My callback is called and the right value of the right row is updated in my bean.

      The case 2) is of course the one I would like to see working :)

      I'm using richfaces 3.2.0 with JSF 1.2 sun RI.

      Thanks for the help.