commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinay Chandran <sahilvi...@yahoo.com>
Subject [Jelly]BreakTag
Date Sun, 13 Oct 2002 03:53:18 GMT
Hi,

[Attached BreakTag.java]

BreakTag [ <break if="condition"/> ] tag allows one to
conditionally 
break out of a script block without executing any
subsequent scripts within its parent .
The natural use is to break out of a <foreach/> ,
<while/> loop .
Break works in the context of any parent tag and thus
one can use
to conditionaly break out of the entire script itself.
[ testBreak.jelly attached ] 

Regards,
Vinay.

Patch to CoreTagLibrary 
------------------------
97a98
> 		registerTag("break",BreakTag.class);



__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
Mime
View raw message