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
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
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
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
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
<%@ 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
6 matches
Mail list logo