G
gk
I have Arraylist of Strings in the session.
ArrayList list=new ArrayList();
list.add("a");
list.add("b");
list.add("c");
session.setAttribute("list",list);
Now how do i access this list by the Display Tag library?
i have read the tutorial here
http://displaytag.sourceforge.net/11/tut_basic.html
it says,
<display:table name="test">
<display:column property="id" title="ID" />
<display:column property="name" />
<display:column property="email" />
<display:column property="status" />
<display:column property="description" title="Comments"/>
</display:table>
but as you see, i dont have properties . i have only couple og strings
in the list.
How do i use "displaytag" to display my Strings ?
ArrayList list=new ArrayList();
list.add("a");
list.add("b");
list.add("c");
session.setAttribute("list",list);
Now how do i access this list by the Display Tag library?
i have read the tutorial here
http://displaytag.sourceforge.net/11/tut_basic.html
it says,
<display:table name="test">
<display:column property="id" title="ID" />
<display:column property="name" />
<display:column property="email" />
<display:column property="status" />
<display:column property="description" title="Comments"/>
</display:table>
but as you see, i dont have properties . i have only couple og strings
in the list.
How do i use "displaytag" to display my Strings ?