public final class DecorateHandler extends TagHandlerImpl implements TemplateClient
Constructor and Description |
---|
DecorateHandler(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, findNextByType
public DecorateHandler(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.FaceletHandler
Process changes on a particular UIComponent
apply
in interface javax.faces.view.facelets.FaceletHandler
ctxObj
- the current FaceletContext instance for this executionparent
- the parent UIComponent to operate uponIOException
- if unable to load relativePath
public boolean apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.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
Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.