Plumtree Portal UI  
 

ATag.HasParentTag Method 

Check whether or not the current Tag is nested inside a given parent Tag. The parent tag must be in the same library as the current tag.

E.G. <pt:parenttag><pt:thistag/></pt:parenttag> would return true for "parenttag".

Tag Utility Method
public virtual bool HasParentTag(
   ITagMetaData _parentTag
);

Parameters

_parentTag

Return Value

boolean True implies that the parent tag was found.

See Also

ATag Class | com.plumtree.portaluiinfrastructure.tags Namespace