org.apache.myfaces.view.facelets.tag.jsf.core
Class AttributeHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.myfaces.view.facelets.tag.jsf.core.AttributeHandler
- All Implemented Interfaces:
- AttributeHandler, FaceletHandler
@JSFFaceletTag(name="f:attribute",
bodyContent="empty",
tagClass="org.apache.myfaces.taglib.core.AttributeTag")
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 tag documentation.
- Version:
- $Id: AttributeHandler.java 1187701 2011-10-22 12:21:54Z bommel $
- Author:
- Jacob Hookom
- See Also:
UIComponent.getAttributes()
,
UIComponent.setValueExpression(java.lang.String, javax.el.ValueExpression)
AttributeHandler
public AttributeHandler(TagConfig config)
- Parameters:
config
-
apply
public void apply(FaceletContext ctx,
UIComponent parent)
throws IOException,
FacesException,
FaceletException,
javax.el.ELException
- Specified by:
apply
in interface FaceletHandler
- Throws:
IOException
FacesException
FaceletException
javax.el.ELException
getAttributeName
public String getAttributeName(FaceletContext ctx)
- Specified by:
getAttributeName
in interface AttributeHandler
Copyright © 2014 The Apache Software Foundation. All rights reserved.