Great. That's sorted it. Thanks
Adam

On 09/02/2003 10:15 PM Karr, David wrote:
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]



-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9


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



Reply via email to