@JSFFaceletTag(name="ui:insert") public final class InsertHandler extends TagHandler implements TemplateClient, ComponentContainerHandler
nextHandler, tag, tagId| Constructor and Description |
|---|
InsertHandler(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 InsertHandler(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 © 2021 The Apache Software Foundation. All Rights Reserved.