Name

AttributeTag

Synopsis

This class is a JSP tag handler class for an action that sets a generic attribute of the component represented by the closest UIComponentTag parent tag handler.

Synopsis

Class name:

javax.faces.webapp.AttributeTag

Extends:

javax.servlet.jsp.tagext.TagSupport

Implements:

javax.servlet.jsp.tagext.IterationTag

Constructors

public AttributeTag()

Creates an instance.

Methods

public int doStartTag()

Sets a generic attribute with the name and value corresponding to this tag handler’s attributes for the component represented by the closest UIComponentTag parent tag handler if this component doesn’t already have an attribute with this name.

public void release()

Releases all references to acquired resources.

public void setName(String name)

Sets the attribute name.

public void setValue(String name)

Sets the attribute value.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.