• Post Reply Bookmark Topic Watch Topic
  • New Topic

Classic Tags > tagdependent

 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can only classes extending BodyTagSupport have <body-content> as tagdependent ?
Can't classes extending from TagSupport have <body-content> as tagdependent ?

HFSJ - P -525,526,527
class extending TagSupport >
If doStartTag() returns EVAL_BODY_INCLUDE, then body is evaluated....
What does it really mean by saying body is evaluated?
The tag don't get the body contents... Right ?

and the differnce between TagSupport and BodyTagSupport is that in BodyTagSupport, one can get the body contents
by calling getBodyContent()..
 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaRanchers,
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sandeep Vaid:
JavaRanchers,


Patience Is A Virtue
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!