Hello list, I am exposing a collection called "entries" in my action class (Set<JournalEntry> entries;), with all the appropriate getters and setters. In the result jsp of this action I am using the display tag to output the content of the collection:
<s:set name="entries" value="entries" scope="request"/> <display:table name="entries" requestURI=""> <display:column property="entry"/> <display:column property="date" sortable="true" defaultorder="ascending"/> </display:table> But the message I get on the jsp page is: "Nothing found to display". (Its not an exception, this message is printed on the regulat html output page). I am certain that the rows exist on the underlying db, I am using mysql query browser to check. So, I have followed instructions about struts2 and the display tag found in different places: http://www.nabble.com/Struts-2---DisplayTag-example-td17694341.html http://www.manning-sandbox.com/thread.jspa?messageID=76885 http://appfuse.org/display/APF/Using+Struts+2 But I can't get this simple task to work. The objective is to simply display the table. In contrast, using just the struts2 tags, the following works fine: <table border="3"> <s:iterator value="entries"> <tr /> <td><s:property value="entry"/></td> <td><s:property value="date"/></td> </tr> </s:iterator> </table> However, since I wish to use the display tag for further formatting and sorting, I was hoping if anyone had any thoughts as to why my code above finds nothing to display. I can't tell if it finds just an empty collection, or doesn't find the collection at all. thanks for any advice. Regards. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org