You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rick Col <ri...@yahoo.com> on 2003/07/23 19:40:57 UTC

How to interate through a collection?

Hi,

If I have a collection of employees, an employee has a
name and id (int). How can I iterate through this
collection and put every employee between
<html:option>?

------

<logic:iterate id="employee" name="employees">
    <html:option>....</html:option>
</logic:iterate> 

------

regrads,

Rick

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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