Rodrigo Pereira 写道:
Hi,
is there a simple nice way of displaying a list of objects in a 3
coluns table? Is there any attribute I can use on s:iterator?
Right now I can only print one at a row or all in one row.
<table>
<s:iterator value="myList" >
<tr>
<td>
<s:property value="name"/>
</td>
</tr>
</s:iterator>
</table>
Thanks,
Rodrigo Pereira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try use <td><s:property value="user.name"></td><td><s:property
value="user.otherInformation"></td>...
user is the class in the collection
--
Ray Chen
Email:[EMAIL PROTECTED]
Blog: http://clraychen.blogcn.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]