tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@attws.com>
Subject RE: Stuck in Mud... Need your help...
Date Mon, 16 Dec 2002 16:51:30 GMT
The return value from "doStartTag()" can have three (more?) different
return values, being EVAL_BODY_INCLUDE, EVAL_BODY_BUFFERED, or
SKIP_BODY.

I don't see how the difference is "silly".  It was a good idea to
separate them, so tags which don't need to manipulate their body can be
more efficient.

> -----Original Message-----
> From: Mark R. Diggory [mailto:mdiggory@latte.harvard.edu]
> 
> Thanks, yes that appeared to be it. I'm always running into 
> this "silly" 
> issue of TagSupport vs. BodyTagSupport and the difference in 
> the constants.
> 
> TagSupport --> EVAL_BODY_INCLUDE or SKIP_BODY
> 
> BodyTagSupport --> EVAL_BODY_BUFFERED or SKIP_BODY
> 
> Seems that the JSP Taglib spec has alot of this use of 
> constant ints in 
> situations where boolean return values would do just fine and save on 
> the confusion. But thats a different issue for a different list... ;-)

--
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