<c:forEach var="section" items="${sections}" varStatus="status">
      <c:import url="${section}"/>
    </c:forEach>


-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 1:33 PM
To: '[EMAIL PROTECTED]'
Subject: Inserting tiles dynamically based on a list from
tiles-config.xml


I have the following in tiles-config.xml:

    <putList name="sections">
      <add value="/WEB-INF/pages/sideNav.jsp"/>
      <add value="/WEB-INF/pages/weather.jsp"/>
      <add value="/WEB-INF/pages/package.jsp"/>
      <add value="/WEB-INF/pages/deals.jsp"/>
    </putList>

And I want to loop through these in my layout and render them accordingly:

    <c:forEach var="section" items="${sectionList}" varStatus="status">
      <tiles:insert attribute="${section}"/>
    </c:forEach>

Alas, there's no tile-el tag library and this is not possible (yet).  Do I
have to use <logic:iterate> to accomplish this?

Thanks,

Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to