You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mister Spunkaa <m_...@yahoo.de> on 2003/11/19 21:07:40 UTC

logic:iterate

Hi, just a question about <logic:iterate>

i just want get some html like this

(A Table of customers)

<tr>
<td>Smith
</td>
<td>Jones
</td>
</tr>
<tr>
<td>Gates
</td>
<td>McBarth
</td>
</tr>

and so on, with this code:

<struts-logic:iterate id="element" name="customers">
<tr>
<td>
<struts-bean:write name="element"
property="lastName"/>
</td>
<td>
<struts-bean:write name="element"
property="lastName"/>
</td>
</tr>

</struts-logic:iterate>

but what i get is:

smith smith
jones jones
gates gates
McBarth McBarth

anyone an idea?

thanks a lot

greetings mike

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org