Good Morning,

I recently started using "displaytag" and the examples are really looking good!
Unfortunately displaytag's display:table doesn't work in my webapp, only a bold "empty" and repeated lines of the word "false" are shown.


This is the code that I use:
[CODE]
java.util.List al = new java.util.ArrayList();
ms1.setQuery(query);
al = ms1.getMSSQLData(); // Write the returned resultSet values to the ArrayList
request.setAttribute("rs",al);
out.println( al.get(0)); // To test the ArrayList values


<display:table name="rs">
</display:table>
[/CODE]

I believe that the column count can't be extracted from the ArrayList, so how could I tell displaytag the names of the columns and the number of columns? Can I add some kind of a header row to the ArrayList that will then allow displaytag to work?

Thank you for your help!

Sascha


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to