1 Reply Latest reply on Jul 4, 2007 8:35 AM by Ilya Shaikovsky

    a4j:poll not calling action

    Alan Yates Newbie

      I cannot get a4j:poll to work, in that it never invokes its action target.
      e.g. in the code fragment:

      <a4j:poll id="pollit" action="#{posDevices.cardReadAction}"
      reRender="rep" interval="6000"
      onsubmit="alert('poll submitted 4')"
      oncomplete="alert('poll completed')"

      <h:inputText size="50" value="#{test.text}" id="fred">
      <a4j:support event="onchange" reRender="rep"
      <h:outputText value="#{test.text}" id="rep"/>

      the cardReadAction is not invoked by the poll tag but is invoked by the support tag! The onsubmit javascript alert is called but not the oncomplete.

      I am running ajax4jsf-1.1.1 and facelets-1.1.12. Any ideas as to what's wrong?