public static final class TemplateContextImpl.InitialTemplateClient extends Object implements TemplateClient
Constructor and Description |
---|
InitialTemplateClient() |
Modifier and Type | Method and Description |
---|---|
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.
|
public boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException, FacesException, FaceletException, jakarta.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
jakarta.el.ELException
Copyright © 2020 The Apache Software Foundation. All rights reserved.