1 Reply Latest reply on Oct 3, 2007 6:41 PM by pmuir

    Action execution order

    mtpettyp

      I've got an h:commandLink as follows:

      <h:commandLink action="#{something.doAction(entity)}">
       Go
       </h:commandLink>
      


      <rich:dataTable value="#{query.resultList}" var="entity">
       <snip/>
      </rich:dataTable>
      


      The problem I'm having is that when the request is submitted, the call to EntityQuery.getResultList() is performed before something.doAction(entity).


      Since something.doAction() affects EntityQuery.getResultSet(), I need to find a way to get it to be called first. Anyone know of an easy way to do this?