Plumtree Tags API  
 

RequiredTagAttribute Class

This class provides programmatic access to the tag meta data for required attributes, including name, description, and type.

Tag classes need to have one public static final RequiredTagAttribute member variable for every attribute that this tag requires.

E.G.
<pt:thistag pt:firstattribute="foo" pt:secondattribute="bar"/>
would need
public static final RequiredTagAttribute = new RequiredTagAttribute( "firstattribute", "This attribute is used to ...");
public static final RequiredTagAttribute = new RequiredTagAttribute( "secondattribute", "This attribute is used to ...");

The RequiredTagAttribute objects are used for programmatic access to tag meta data, as well as to pre-process tags for required attributes (presence and correct type). If the attributes are not correct (missing required attribute or bad value), 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.

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

System.Object
   com.plumtree.portaluiinfrastructure.tags.metadata.ATagAttribute
      com.plumtree.portaluiinfrastructure.tags.metadata.RequiredTagAttribute

public class RequiredTagAttribute : ATagAttribute

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

RequiredTagAttribute Members | com.plumtree.portaluiinfrastructure.tags.metadata Namespace | OptionalTagAttribute