Plumtree Tags API  
 

RequiredChildTag Class

This class provides programmatic access to the tag meta data for required child tags.

Tag classes need to have one public static final RequiredChildTag member variable for every child tag that this tag requires. The required child tag must be in the same library as this tag.

If this child tag is required to be present every time the main tag is used, and the child tag is not present, an error will be logged and the tag and its children will be skipped and not displayed. An HTML Comment describing the tag and error will be displayed instead.

E.G. If parenttag requires childtag to be present, then
<pt:parenttag><pt:childtag/></pt:parenttag>
will work, but
<pt:parenttag>text</pt:parenttag>
will not work, because childtag is required to be inside of parenttag.

For a list of all members of this type, see RequiredChildTag Members.

System.Object
   com.plumtree.portaluiinfrastructure.tags.metadata.ARelatedTag
      com.plumtree.portaluiinfrastructure.tags.metadata.RequiredChildTag

public class RequiredChildTag : ARelatedTag

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: com.plumtree.portaluiinfrastructure.tags.metadata

Assembly: portaluiinfrastructure (in portaluiinfrastructure.dll)

See Also

RequiredChildTag Members | com.plumtree.portaluiinfrastructure.tags.metadata Namespace