public final class InsertHandler extends TagHandlerImpl implements TemplateClient
| Constructor and Description |
|---|
InsertHandler(javax.faces.view.facelets.TagConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctxObj,
javax.faces.component.UIComponent parent)
Process changes on a particular UIComponent |
boolean |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.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, findNextByTypepublic InsertHandler(javax.faces.view.facelets.TagConfig config)
config - public void apply(javax.faces.view.facelets.FaceletContext ctxObj,
javax.faces.component.UIComponent parent)
throws IOException
javax.faces.view.facelets.FaceletHandlerProcess changes on a particular UIComponent
apply in interface javax.faces.view.facelets.FaceletHandlerctxObj - the current FaceletContext instance for this executionparent - the parent UIComponent to operate uponIOException - if unable to load relativePathpublic boolean apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
String name)
throws IOException
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 includedIOExceptionCopyright © 2010–2020 JBoss by Red Hat. All rights reserved.