Hi,

I don't quite understand what you want to achieve but you will need to pass
a list of objects (even maps) to displaytag. You could construct your list
from the HasMap and in the jsp you could dynamically create your columns :

<display:table list="yourList">

<%for (String colName : colList){%>
<display:column property="colName" />
<%}%>

</display:table>

Hope this helps,
Narcis

On Thu, Feb 26, 2009 at 11:23 PM, SourceForge.net
<[email protected]>wrote:

>
> Read and respond to this message at:
> https://sourceforge.net/forum/message.php?msg_id=6541588
> By: vickykapse
>
> Hi,
>
> I have a 3 different Lists to be displayed in the form of a table using
> <display:table> tag. I have a java.util.List with strings which is dynamic
> and
> want to use this as column headers. How can achieve this. I have an HashMap
> with each entry containing ArrayList. I want each of these ArrayList in the
> HashMap to be listed in a single row right below the cloumn headers. Could
> someone
> please help me how to achieve making a List as column headers and each of
> the
> ArrayList in HashMap as a row in the table?
>
> Please, its very urgent. Any help will be of great help.
>
> Thanks,
> Vivek
>
>
>
> ______________________________________________________________________
> You are receiving this email because you elected to monitor this forum.
> To stop monitoring this forum, login to SourceForge.net and visit:
> https://sourceforge.net/forum/unmonitor.php?forum_id=249318
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to