In theory it should be possible with Fabrizio's implementation display09.

See example at:
http://raibledesigns.com/display09/jsp/example-nestedtables.jsp

AFAIK, DisplayTag does not support dynamic column creation at runtime as described in the Chirag's question.
You have to know the list of needed column at the JSP definition time.


HTH,
Didier.


Matt Raible wrote:


I don't believe the current taglib supports nested tables (collection of
collections).  So it's not possible (yet) to convert.

Matt

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mehta,
Chirag (IT)
Sent: Tuesday, August 19, 2003 2:36 AM
To: [EMAIL PROTECTED]
Subject: [displaytag-user] FW: Conversion - Please help


Hello,


I am a newbie to the Display taglib and struts in general and I need
some help.

I would like to convert the code below to use the display:table if
possible. I have a ArrayList of column headings and a Collection of
Collections of row data.

Would it be possible to convert?

Thanks a million in advance.

Chirag



<:table> <tr>
<logic:iterate name="Results" property="columnnames" id="columnname" >
<td><bean:write name="columnname"/></td> </logic:iterate> </tr>
<logic:iterate name="Results" property="tabledata" id="rowdata"> <tr>
<logic:iterate name="rowdata" id="columndata"> <td><bean:write
name="columndata"/></td> </logic:iterate> </tr> </logic:iterate> <table>





-- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.


------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user




------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user







------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to