@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, toString
public InsertHandler(TagConfig config)
config
- public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, javax.el.ELException
apply
in interface FaceletHandler
IOException
FacesException
FaceletException
javax.el.ELException
public boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException, FacesException, FaceletException, javax.el.ELException
TemplateClient
apply
in interface TemplateClient
ctx
- 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 includedIOException
FacesException
FaceletException
javax.el.ELException
Copyright © 2020 The Apache Software Foundation. All rights reserved.