struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Hodapp / 1genia" <phod...@1genia.com>
Subject nested iterate
Date Fri, 01 Feb 2002 15:57:53 GMT
I have some problems to use an iterate tag in an iterate tag.
I have tried to use the define tag but it don't work too.
I have the message : Cannot create iterator for this collection

Here's the code :
<logic:iterate id="aLaUneItem" name="aLaUne"  property="articles"
scope="session" >
            <A HREF="detail.do?idArticle=<bean:write  name="aLaUneItem"
property="noArticle" />">
   <bean:write name="aLaUneItem" property="titre" /></A>
   <bean:write name="aLaUneItem" property="resume" />
            <bean:define id="article"  name="aLaUneItem"/>
   <logic:iterate id="pictureItem" name="article"
property="picturesContainer">
   <img src="<bean:write name="pictureItem" property="idArt"/>
   </logic:iterate>

    </logic:iterate>



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


Mime
View raw message