Class AttributeHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
org.apache.myfaces.view.facelets.tag.faces.core.AttributeHandler
- All Implemented Interfaces:
AttributeHandler
,FaceletHandler
@JSFFaceletTag(name="f:attribute",
bodyContent="empty")
public final class AttributeHandler
extends TagHandler
implements AttributeHandler
Sets the specified name and attribute on the parent UIComponent. If the "value" specified is not a literal, it will
instead set the ValueExpression on the UIComponent.
See jakarta.faces.component.UIComponent#getAttributes()
See jakarta.faces.component.UIComponent#setValueExpression(java.lang.String, jakarta.el.ValueExpression)
- Version:
- $Id$
- Author:
- Jacob Hookom
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
AttributeHandler
-
-
Method Details
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, jakarta.el.ELException - Specified by:
apply
in interfaceFaceletHandler
- Throws:
IOException
FacesException
FaceletException
jakarta.el.ELException
-
getAttributeName
- Specified by:
getAttributeName
in interfaceAttributeHandler
-