Plumtree Portal UI  
 

ATag.GetTagAttribute Method 

This method gets the value of the requested pt attribute.

E.G. <pt:tag pt:ptattr="test" width="10"/> would get the ptattr attribute, but not the width attribute.

PT attributes are designed to specify the logic of the tag, while non-pt attributes specify the behavior of the resulting HTML tag.

In general, PT Attributes should have a corresponding ATagAttribute class and should be retrieved using the GetTagAttributeAs* methods. These methods handle default attribute values and attribute type conversion.

This method does not handle default attribute values if the attribute is not present, or if there is an error processing the attribute.

This method is present for backwards compatibility with the standard Transformer tags and should not be used if at all possible.

PT Tag Attribute Method
public virtual string GetTagAttribute(
   string _strAttribute
);

Parameters

_strAttribute
The requested attribute name

Return Value

The value of the requested attribute, or null if it is not present in the tag or there was an error processing the attribute.

See Also

ATag Class | com.plumtree.portaluiinfrastructure.tags Namespace