Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4209077 By: rohitsz
Greetings there, I happen to use display tag for the first time and need to use it for pagenation. I wrote the following jsp: <CODE> <display:table name="results"> <display:column property="date" title="2" /> <display:column property="adminUserName" title="3" /> <display:column property="type_Of_Activity" title="4" /> <display:column property="status" title="5" /> </display:table> <logic:iterate id="rows" name="adminActivityQueryForm" property="results"> <tr valign="top"> <td><p class="normal"><bean:write name="rows" property="TXN_ID" /></p></td> <td><p class="normal"><bean:write name="rows" property="date" /></p></td> <td><p class="normal"><bean:write name="rows" property="adminUserName" /></p></td> <td><p class="normal"><bean:write name="rows" property="type_Of_Activity" /></p></td> <td><p class="normal"><bean:write name="rows" property="status" /></p></td> </tr> </logic:iterate> </CODE> So, surprisingly, the <display:table> displays: "Nothing found to display. " and the <logic:iterate> displays the table. Behind the scene: The results field is an arraylist type defined in a dynaactionform. The arraylist is made up of DO's with the given properties. So why is it that the display tag is unable to read the arraylist? Kindly help. Thanks, rohit. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=249318 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user