Rick Col said:
> I have a list of Student objects, a Student object contains a list of
> courses. I want to display a list of students, for every student, I also
> want to display a list of courses under Courses column. Can I achieve that
> using displaytag?
I would think so. Something like this:
<display:table name="students" uid="student">
<display:column property="name"/>
<display:column title="Courses">
<display:table name="student.courses" uid="course">
<display:column property="name"/>
</display:table>
</display:column>
</display:table>
The only catch is that you might need to scope the embedded table to
pageContext (i.e. something like name="pageContext.student.courses").
--
Rick Herrick
[EMAIL PROTECTED]
I haven't got time for inner peace.
"No reasonable definition of reality could be expected to permit
this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user