Hi, I was wondering if nested Datatables ( one inside another, the inner one using the "var" tag of the outer one) work with seam. I have messages and each message has variable numbers of "information"-tags, and i want to display first the outer properties and then the "variable-length" inner properties like this:
<h:dataTable value="#{msgList}" var="con" rendered="#{msgList.rowCount>0}"> <h:column> <f:facet name="header">Person</f:facet> #{msg.owner.username} </h:column> <h:column> <f:facet name="header">Details</f:facet> <h:outputText value="No information found" rendered="#{con.information != null and con.information.rowCount==0}"/> <h:dataTable value="#{con.information}" var="con2" rendered="#{con.information.rowCount>0}"> <h:column> #{con2.information.displayName},#{con2.information.firstName},#{con2.information.lastName} </h:column> </h:dataTable> </h:column> <h:column> <f:facet name="header">Action</f:facet> <s:link value="View Details" action="#{msgSearch.select}"/> </h:column> </h:dataTable> would that generally work? It doesn't seem like it, but maybe I am doing something wrong... Any links regarding this would be appreciated!! Thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954225#3954225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954225 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