• Post Reply Bookmark Topic Watch Topic
  • New Topic

please explain ?  RSS feed

 
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!