6 Replies Latest reply on Mar 4, 2010 6:40 AM by nimo stephan

    a4j:push, a4j:poll - onenabled ondisabled

    nimo stephan Master

      I cannot find properties something like "onenabled" and "ondisabled" for a4j:push and 4j:poll:

       

      onenabled: action which is invoked when push or poll is enabled.

       

      ondisabled: action which is invoked when push or poll is disabled.

       

       

      For example:

       

      I set the enabled-propertie via variable:

       

      {code:xml}

      <a4j:poll enabled="#{enabled}" onenabled="#{doThisAction}" ondisabled="#{doThatAction}"/>

       

      <a4j:push enabled="#{enabled}" onenabled="#{doThisAction}" ondisabled="#{doThatAction}"/>

      {code:xml}

       

      It would be very sensefull. What are you thinking?