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

Taglib - doAfterBody without doInitBody - DUH!!!

 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regarding Tags..........
Did anyone realize that doAfterBody() method is defined in IterationTag interface which extends Tag interface and
doInitBody(...) and setBodyContent(...) are defined in the BodyTag interface which is a sub-interface of IterationTag interface.

So, you can have doAfterBody(...) without ever doing doInitBody(...) or setBodyContent(...). How smart is that, huh?
I guess these names will again change in the next Spec... much like the EVAL_BODY return type.
What are these guys doing...competing for Dumb and Dummer
- satya
[ March 02, 2002: Message edited by: Madhav Lakkapragada ]
 
ersin eser
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iteration Tag is not suppose to evaluate its body so i guess there was no need to do init and set body; then again it is saturday nite and i enjoy my scotch...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic