Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do you say to skip body from Simple Tags

 
vanam kris
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i know for Classic Tags if you return SKIP_BODY from doStartTag() it will not evaluate the body.
How do you do the same for Simple Tags?

do not include getJspBody().invoke(null) in doTag()?
 
vanam kris
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could you , Kathy Sierra or someone pl answer this question.
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In simple tags, the body is invoked only calling getJspBody().invoke(null). So I think if we don't call that function,it should skip the body !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic