This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

please explain ?

 
rehans oberoi
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given a scenario, write tag handler code to access the parent tag and an arbitrary tag ancestor .
what does this mean .
please anyone tell.
i am confused with custom tag
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is simply asking you to use getParent() and findAncestorWithClass().
Try to make nested tags,
and use those methods in your custom tag to figure out how they work.

A nice tutorial about this (switch/case tags):
http://www.orionserver.com/docs/tutorials/taglibs/4.html
[ December 20, 2005: Message edited by: Satou kurinosuke ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic