• 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 ]
 
my overalls have superpowers - they repel people who think fashion is important. 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!