Plumtree Portal UI  
 

ATag.HasTagAttribute Method 

Check to see whether or not a specified attribute is present in the HTML for this tag. This will always return true for required tags.

E.G. <pt:tag pt:ptattr="test" width="10"/> would return true for ptattr, but not for width.

Note: Even though the tag may be present, it may produce an error when trying to process the tag.

PT Tag Attribute Method
public virtual bool HasTagAttribute(
   ATagAttribute _attribute
);

Parameters

_attribute
ATagAttribute The attribute to check

Return Value

boolean True if the attribute is present in the HTML

See Also

ATag Class | com.plumtree.portaluiinfrastructure.tags Namespace