You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christoph Kutzinski <ku...@gmx.de> on 2005/07/11 11:24:12 UTC
Re: Tiles
This is a Struts/Tiles related question, you should ask in the Struts
mailing lists.
Dewitte Rémi wrote:
> Hi !
> I make a definition in which i put a list of tiles to include but I can't
> achieve to do this eg :
> in my tiles-defs.xml :
> <definition name="page1-def" extends="baseDef">
> <put name="page" value="1"/>
> <putList name="listQuestions">
> <add value="/Q/firstName.jsp"/>
> <add value="/Q/lastName.jsp"/>
> </putList>
> </definition>
>
> And in my template, i don't know how to iterate in listQuestions in order to
> include /Q/firstName.jsp and /Q/lastName.jsp.
> A start :
> <tiles:importAttribute/>
> <c:out value="${listQuestions}"/>
> <c:forEach items="${listQuestions}" var="question">
> What to do to include question !
> </c:forEach>
>
> Maybe it's not possible...
> Thanks.
> Rémi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tiles
Posted by Dewitte Rémi <re...@gide.net>.
Yes i did, i made a mistake.
Sorry !
Rémi
Le Lundi 11 Juillet 2005 11:24, Christoph Kutzinski a écrit :
> This is a Struts/Tiles related question, you should ask in the Struts
> mailing lists.
>
> Dewitte Rémi wrote:
> > Hi !
> > I make a definition in which i put a list of tiles to include but I can't
> > achieve to do this eg :
> > in my tiles-defs.xml :
> > <definition name="page1-def" extends="baseDef">
> > <put name="page" value="1"/>
> > <putList name="listQuestions">
> > <add value="/Q/firstName.jsp"/>
> > <add value="/Q/lastName.jsp"/>
> > </putList>
> > </definition>
> >
> > And in my template, i don't know how to iterate in listQuestions in order
> > to include /Q/firstName.jsp and /Q/lastName.jsp.
> > A start :
> > <tiles:importAttribute/>
> > <c:out value="${listQuestions}"/>
> > <c:forEach items="${listQuestions}" var="question">
> > What to do to include question !
> > </c:forEach>
> >
> > Maybe it's not possible...
> > Thanks.
> > Rémi
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org