Re: Need help with layered Map iteration in JSP

2004-08-16 Thread Erik Weber
I have a c:forEach where "items" refers to a Map, and "var" refers to the current Map entry. The value for each Map entry is an array. How do I switch on the length of this array? I tried this: But I get a syntax error; it says I supplied the "." operator with an index value of type "java.la

Re: Need help with layered Map iteration in JSP

2004-08-13 Thread Erik Weber
Thanks again. Erik Kris Schneider wrote: supports a "varStatus" attribute. The value of that atrribute is a String that names an instance of javax.servlet.jsp.jstl.core.LoopTagStatus. The LoopTagStatus instance has nested visibility so that it's only available within the enclosing tag. LoopTagSta

Re: Need help with layered Map iteration in JSP

2004-08-13 Thread Kris Schneider
supports a "varStatus" attribute. The value of that atrribute is a String that names an instance of javax.servlet.jsp.jstl.core.LoopTagStatus. The LoopTagStatus instance has nested visibility so that it's only available within the enclosing tag. LoopTagStatus exposes a number of properties, but t

Re: Need help with layered Map iteration in JSP

2004-08-13 Thread Erik Weber
How can I refer to the index of the current iteration with c:forEach (analogous to the indexId attribute to logic:iterate)? Thanks, Erik Kris Schneider wrote: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> <%-- ${entry.key} is the current key --%> <%-- ${entry.value} is the asso

Re: Need help with layered Map iteration in JSP

2004-08-13 Thread Erik Weber
Thanks! Erik Kris Schneider wrote: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> <%-- ${entry.key} is the current key --%> <%-- ${entry.value} is the associated bean array --%> ... Quoting Erik Weber <[EMAIL PROTECTED]>: I could use some Struts-EL/JSTL tag help, pleas

Re: Need help with layered Map iteration in JSP

2004-08-13 Thread Kris Schneider
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> <%-- ${entry.key} is the current key --%> <%-- ${entry.value} is the associated bean array --%> ... Quoting Erik Weber <[EMAIL PROTECTED]>: > I could use some Struts-EL/JSTL tag help, please. > > I have a Map with eac