hi,
I have a problem in displaying the List values in displaytag table.
Problem explaination:
I am using Struts 2.0.11 version, and i'm generating my list (values are
retrieved from Database) in my Action class and using the basic method to
display the values using Display Tag. i.e. <% request.setAttribute("test", new
ActionClass()) %> and my displaytag code look as shown below in my JSP page.
<display:table name="test" pagesize="20" export="true" cellspacing="1"
class="dataTable" ><display:caption>Summary</display:caption><display:column
property="list1" title="SSN"></display:column><display:column property="list2"
title="EMP ID"></display:column>list1 & list2 return java.util.List.
Problem iswhen i run my JSP page, the whole list value is getting displayed
example: if list1 return the list values as -> [222909, 175834, 323867, 323877,
323904, 323915, 388232, 324374, 388754]
this "[222909, 175834, 323867, 323877, 323904, 323915, 388232, 324374, 388754]"
data is getting displayed in one row.
i need to display the each values in single row.
please suggest me a solution.
Thanks & Regards,
Satish Kumar G.</display:table>
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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