Hello,
I am writing a component for a Struts 1.1 application that uses JSTL and
the Struts-EL library. In my design I mistakenly thought that the tiles
tags were a part of Struts-EL for 1.1. As pointed out earlier on this
list they are only in 1.2. Upgrading our app to 1.2 is not a very
attractive option at this time so I have been trying to determine an
alternative solution to my needs. My page is composed of dynamic
sections which are currently implemented as a List of view helper beans
put into the request scope each section had a "definition" property that
I wanted to dynamically insert so the core of the page looked like this:
<c:forEach items="${page.sections}" var="section">
<tr>
<td>
<tiles:insert definition="${section.definition}"/>
</td>
</tr>
</c:forEach>
Which works well with 1.2 but now that I can not use an EL expression
inside the tiles insert and the fact that each page will have 1..*
sections, how do I manage this?
Any input appreciated,
Joshua
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]