Yes.

The Parent tag can be (recursively) scanned with getParent() and verified
with instanceof.
The TagSupport tag provides for that also with findAncestorWithClass method.

Wellington L.S. da Silva
UN/FAO


-----Original Message-----
From: bo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 9:11 PM
To: taglib-user
Subject: How to determing the relationship between tags


Hi all,

I wonder if I can determine the relationship among tags, such as tag A
should be within tag B etc. Is that possible? Thanks!

Bo


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to