org.apache.myfaces.view.facelets.tag.composite
Class InsertFacetHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.myfaces.view.facelets.tag.composite.InsertFacetHandler
- All Implemented Interfaces:
- FaceletHandler
@JSFFaceletTag(name="composite:insertFacet")
public class InsertFacetHandler
- extends TagHandler
Insert or move the facet from the composite component body to the expected location.
- Version:
- $Revision: 1194861 $ $Date: 2011-10-29 10:02:34 +0000 (Sat, 29 Oct 2011) $
- Author:
- Leonardo Uribe (latest modification by $Author: struberg $)
INSERT_FACET_USED
public static final String INSERT_FACET_USED
- See Also:
- Constant Field Values
INSERT_FACET_KEYS
public static final String INSERT_FACET_KEYS
- Key used to save on bean descriptor a map containing the metadata
information related to this tag. It will be used later to check "required" property.
- See Also:
- Constant Field Values
_name
@JSFFaceletAttribute(name="name",
className="javax.el.ValueExpression",
deferredValueType="java.lang.String",
required=true)
protected final TagAttribute _name
- The name that identify the current facet.
_required
@JSFFaceletAttribute(name="required",
className="javax.el.ValueExpression",
deferredValueType="boolean")
protected final TagAttribute _required
- Define if the facet to be inserted is required or not for every instance of
this composite component.
InsertFacetHandler
public InsertFacetHandler(TagConfig config)
getFacetName
public String getFacetName(FaceletContext ctx)
apply
public void apply(FaceletContext ctx,
UIComponent parent)
throws IOException
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.