[jboss-user] [JBoss Seam] - Action execution order

mtpettyp do-not-reply at jboss.com
Wed Oct 3 17:34:42 EDT 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091246#4091246

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091246



More information about the jboss-user mailing list