display tag

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top