<%@ include file="inc/header.jsp" %>

<% request.setAttribute( "test", new TestList(4) ); %>

<h2><a href="./index.jsp">Examples</a> > Wow, nested tables</h2>


<display:table name="test" id="parent">

  <display:column property="id" />
  <display:column property="status" />
  <display:column property="description" title="Comments" />

  <display:column title="Related address">
        <display:table name="<%="test.item[" + (parent_rowNum.intValue()
-1)+ "].subList"%>" id="child" class="simple sublist">
                <display:column property="name" />
                <display:column property="email" />
        </display:table>
  </display:column>
  
</display:table>

I wanted to get more info on the test.item[" + (parent_rowNum.intValue()
-1)+ "].subList. 

Whats the parent_rowNum here. If i have 1 vector of objects ( like the outer
loop - parent tag ) and each of this object has a vector property ( like the
child ) then how can i use it ?  From your example i m not able to figure
out if rowNum is a property , inherent with ur tags or what ???
Let me know
Thanks
 - shailesh 



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to