If you're using the non-RT version of the tag library, then you can't
use expression scriptlets for attribute values.  You'll have to change
your initial "c:set" to this (untested):

<c:set var="sectionListKey">
 <%=Constants4Lists.SECTION_LIST %>
</c:set>

> -----Original Message-----
> From: Adam Hardy [mailto:[EMAIL PROTECTED] 
> 
> Hi All,
> I'm trying to swop a struts logic:iterate tag for a c:forEach 
> and I have 
> run into the problem that I get no output. I get no errors 
> either. There 
> is obviously something wrong with my forEach tag.
> 
> Here is what I have:
> 
> <c:set var="sectionListKey" 
> value="<%=Constants4Lists.SECTION_LIST %>" />
> <c:forEach var="idata" items="${requestScope[sectionListKey]}">
>        <blacksail:row oddStyleClass="odd" evenStyleClass="even">
>          <td class="listTitle">
>            <c:out value="${idata.map.title}" default="error"/>
>          </td>
>        </blacksail:row>
> </c:forEach>

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

Reply via email to