Hey,

I have a dataTable of 'user' objects which iterate thorugh a list, i.e:


  | <t:dataTable id="rolesDataTableList"
  |                         var="user"
  |                         value="#{userList}"
  |                         rows="10"
  |                         >
  |                         <h:column>
  |                             <f:facet name="header">
  |                                 <h:outputText value="#{msgs.id}" />
  |                             </f:facet>
  |                             <h:outputText value="#{user.userId}" />
  |                         </h:column>
  |                         
  |                         <h:column>
  |                             <f:facet name="header">
  |                                 <h:outputText value="STATUS" />
  |                             </f:facet>
  |                             ***CALL SOME METHOD AND RETRIEVE STATUS ON THE 
FLY PER USER ROW**
  |                         </h:column>
  |                     </t:dataTable>          
  | 


I'd like per user row on a column tag to execute a method and retrieve the 
status of the user, but since JSF/Seam limitations(or am I wrong?), I can't 
pass parameters to methods and execute them while the datatable is rendered...

note: the 'status' cannot be just a property of the 'user' entity since the 
method requires DB access(and more) and must reside in an EJB entity....


Any way to solve this?

Thanks,
Asaf.

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to