rohitsz - 2007-03-15

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>

    &lt;logic:iterate id=&quot;rows&quot; name=&quot;adminActivityQueryForm&quot; property=&quot;results&quot;&gt;
     &lt;tr valign=&quot;top&quot;&gt;
        &lt;td&gt;&lt;p class=&quot;normal&quot;&gt;&lt;bean:write name=&quot;rows&quot; property=&quot;TXN_ID&quot; /&gt;&lt;/p&gt;&lt;/td&gt;
        &lt;td&gt;&lt;p class=&quot;normal&quot;&gt;&lt;bean:write name=&quot;rows&quot; property=&quot;date&quot; /&gt;&lt;/p&gt;&lt;/td&gt;
        &lt;td&gt;&lt;p class=&quot;normal&quot;&gt;&lt;bean:write name=&quot;rows&quot; property=&quot;adminUserName&quot; /&gt;&lt;/p&gt;&lt;/td&gt;
        &lt;td&gt;&lt;p class=&quot;normal&quot;&gt;&lt;bean:write name=&quot;rows&quot; property=&quot;type_Of_Activity&quot; /&gt;&lt;/p&gt;&lt;/td&gt;
        &lt;td&gt;&lt;p class=&quot;normal&quot;&gt;&lt;bean:write name=&quot;rows&quot; property=&quot;status&quot; /&gt;&lt;/p&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;/logic:iterate&gt;

</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.