struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin J Citron <object...@elp.rr.com>
Subject RE: Iterate tag
Date Tue, 15 Jul 2003 01:29:24 GMT
I'm fairly new to struts. So, if this sounds like an easy question.
Bear with me.

Here is what I would like to able to to

use the iterate tag to iterate over a collection
creating a link to another page for each item of the iteration.

something like this.

<ul>
<logic:iterate id="productCategory" name="productCategoryThingy" 
property="productCategories">
 <li><html:link page= ></html:link></li>
</logic:iterate>
</ul>

what I'm missing comes after the page attribute in the <html:link> tag
I can print out the items in the list using,
 <bean:write name="productCategory" property="name"/>


Any help would be greatly appreciated.




-- 

Kevin J Citron
Sr. Object Imagineer
Optimized Objects, Inc.
EL Paso, Texas 79930
(915) 565-5777/566-2403



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


Mime
View raw message