Hello I've tried to do the nested table example in my application. But It's no posible. Here we are the web example: (http://displaytag.homeip.net/displaytag-examples-1.1/example-nestedtables.jsp.source)
<jsp:scriptlet> request.setAttribute( "test", new TestList(4, false) ); </jsp:scriptlet> <display:table name="test" id="parent"> <display:column property="id" /> <display:column property="status" /> <display:column property="description" title="Comments" /> <c:set var="nestedName" value="test.item[${parent_rowNum -1}].subList" /> <display:column title="Related address"> <display:table name="${nestedName}" id="child${parent_rowNum}" class="simple sublist"> <display:column property="name" class="textRed" /> <display:column property="email" /> </display:table> </display:column> </display:table> the table test is a intance of TestList. This class has a method called getItem (Returns a ListObject using get(index) from the Array) and the method inherited from class java.util.AbstractList "sublist". I've tried to do the same. I've the class myList with the methods: getItem and getList, but it's not ok cause all the time i've the message "NO Records found". I think the key is in the next line: <c:set var="nestedName" value="test.item[${parent_rowNum -1}].subList" /> test: the name of the table. item: I think is the getItem method subList: in my example I've the method getList. I've tried whit all the name combinations in the tag c:set ==> item, getItem, getList, List, but I'cant acces to the sublist. Somebody can give me an implementation or say me where's the problem? Thanks!! _________________________________________________________________ Acepta el reto MSN Premium: Protección para tus hijos en internet. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user