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 AttributeHandlerSets 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 Constructor Description AttributeHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(FaceletContext ctx, UIComponent parent)StringgetAttributeName(FaceletContext ctx)-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
AttributeHandler
public AttributeHandler(TagConfig config)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, jakarta.el.ELException
- Specified by:
applyin interfaceFaceletHandler- Throws:
IOExceptionFacesExceptionFaceletExceptionjakarta.el.ELException
-
getAttributeName
public String getAttributeName(FaceletContext ctx)
- Specified by:
getAttributeNamein interfaceAttributeHandler
-
-