@JSFFaceletTag(name="ui:composition") public final class CompositionHandler extends TagHandler implements TemplateClient
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,DefineHandler> | _handlers | 
| protected ParamHandler[] | _params | 
| protected TagAttribute | _templateThe resolvable URI of the template to use. | 
| static String | NAME | 
nextHandler, tag, tagId| Constructor and Description | 
|---|
| CompositionHandler(TagConfig config) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(FaceletContext ctx,
     UIComponent parent) | 
| boolean | apply(FaceletContext ctx,
     UIComponent parent,
     String name)This contract is much like the normal FaceletHandler.apply method, but it takes in an optional String name which
 tells this instance what fragment/definition it's looking for. | 
getAttribute, getRequiredAttribute, toStringpublic static final String NAME
@JSFFaceletAttribute(name="template",
                     className="javax.el.ValueExpression",
                     deferredValueType="java.lang.String")
protected final TagAttribute _template
protected final Map<String,DefineHandler> _handlers
protected final ParamHandler[] _params
public CompositionHandler(TagConfig config)
config - public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, javax.el.ELException
apply in interface FaceletHandlerIOExceptionFacesExceptionFaceletExceptionjavax.el.ELExceptionpublic boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException, FacesException, FaceletException, javax.el.ELException
TemplateClientapply in interface TemplateClientctx - the FaceletContext of your instance, not the templates'parent - current UIComponent instance to be appliedname - the String name or null if the whole body should be includedIOExceptionFacesExceptionFaceletExceptionjavax.el.ELExceptionCopyright © 2016 The Apache Software Foundation. All Rights Reserved.