commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dion Gillard" <dion.gill...@gmail.com>
Subject Re: [jelly] Stop script execution (return tag?)
Date Thu, 06 Jul 2006 05:57:49 GMT
Sounds like a good enhancement request for the core taglib.

On 7/6/06, Jonathan Halterman <jhalterman@gmail.com> wrote:
> It looks like the fail tag just throws an Exception. I didn't actually
> think to do that, but it looks like this will work just fine. I'm
> wondering how graceful it would be though, to throw an exception each
> time I simply want to "return".
>
> Jonathan
>
> On 7/5/06, Dion Gillard <dion.gillard@gmail.com> wrote:
> > Would using an ant <fail> or a
> >
> > http://jakarta.apache.org/commons/jelly/libs/junit/tags.html#junit:fail
> >
> > work?
> >
> > On 7/5/06, Jonathan Halterman <jhalterman@gmail.com> wrote:
> > > Is there a nice way to stop execution of a jelly script or skip over
> > > execution of the remainder of a script? I am thinking of something
> > > like a "return" tag, but so far I haven't come up with a way to
> > > implement this that would work with the existing core tags. Any ideas
> > > are appreciated.
> > >
> > > Thanks,
> > > Jonathan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> > http://www.multitask.com.au/people/dion/
> > "If you even dream of beating me you'd better wake up and apologize" -
> > Muhammad Ali
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


-- 
http://www.multitask.com.au/people/dion/
"If you even dream of beating me you'd better wake up and apologize" -
Muhammad Ali

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message