3 Replies Latest reply on Oct 29, 2008 8:12 AM by Michael Morgan

    a4j:actionparam assignTo not working inside a4j:support

    Michael Morgan Newbie

      I have added "onRowClick" support for a rich:dataTable as follows:

      The actionListener and action in the a4j:support work.
      The actionListener in the a4j:actionparam executes as well.

      However the assignTo does not work. I have a breakpoint in the setter for
      #{functionAccess.currentDoc} and it never hits. There is dependent code in the a4j:actionparam's actionListerner that needs the new value set.

      Here is the code:

      <a4j:support event="onRowClick" actionListener="#{docMgmtBean.selectDocument}" action="docSelected" eventsQueue="dlq">
       <a4j:actionparam actionListener="#{functionAccess.refreshAccessListener}" assignTo="#{functionAccess.currentDoc}" value="#{docMgmtBean.selectedDoc}"/>
      </a4j:support>
      


      I know this one is probably staring me in the face.

      Thanks for the help.