tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Röckelein <wolfgang.roeckel...@wiwi.uni-regensburg.de>
Subject Re: How to break a loop in JSTL c:foreach
Date Wed, 11 Sep 2002 12:31:35 GMT
Hi,

Shawn Bayern wrote:
>>I've read the jstl spec. in detail and don't find a way to do it. And
>>I guess it's not supported by jstl. Am I right?
> Right.  You can instead use <c:if> to prevent the body from running.
We also stumbled on this and used also this solution.

> There isn't a good way, using the JSP 1.2 tag-extension API, to break a
> loop; thus, while we didn't dislike the idea, we found it to be
> effectively unimplementable.

As an input for further development:

Would it be possible to have an loop tag which iterates based on a boolean 
condition?

Greetings,
   Wolfgang


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message