public final class CompositionHandler extends TagHandlerImpl implements TemplateClient
| Modifier and Type | Field and Description |
|---|---|
protected Map |
handlers |
static String |
Name |
protected ParamHandler[] |
params |
protected javax.faces.view.facelets.TagAttribute |
template |
| Constructor and Description |
|---|
CompositionHandler(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 static final String Name
protected final javax.faces.view.facelets.TagAttribute template
protected final Map handlers
protected final ParamHandler[] params
public CompositionHandler(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–2019 JBoss by Red Hat. All rights reserved.