public final class InsertHandler extends TagHandlerImpl implements TemplateClient
nextHandler, tag, tagId
Constructor and Description |
---|
InsertHandler(TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(FaceletContext ctxObj,
UIComponent parent)
Process changes on a particular UIComponent |
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.
|
findNextByType, findNextByType
getAttribute, getRequiredAttribute, toString
public InsertHandler(TagConfig config)
config
- public void apply(FaceletContext ctxObj, UIComponent parent) throws IOException
FaceletHandler
Process changes on a particular UIComponent
apply
in interface FaceletHandler
ctxObj
- the current FaceletContext instance for this executionparent
- the parent UIComponent to operate uponIOException
- if unable to load relativePath
public boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException
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
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.