> <c:forEach items="${listeInscriptions.inscriptions}" var="inscription"> > > <tiles:insert name="web-inscription" flush="true"> > <tiles:useAttribute id="${inscription}" > classname="fr.data.Inscription" > name="inscription" > scope="request" > ignore="false"/> > </tiles:insert> > > </c:forEach>
I figured it out.. the problem was the JSTL var in the forEach was limited in scope to the tag. I was trying to pass this object to the other tile but really making it available in request scope is enough. So I ended up doing this: <c:forEach items="${listeInscriptions.inscriptions}" var="inscription"> <c:set var="inscription" value="${inscription}" scope="request" /> <tiles:insert name="web-inscription"/> <P> </c:forEach> It may work with the c:set using page scope, I will have to try. The more I learn JSTL the less I use the struts taglibs. :) -- This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]