com.sun.faces.facelets
public interface TemplateClient
Modifier and Type | Method and Description |
---|---|
boolean |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
java.lang.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.
|
boolean apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, java.lang.String name) throws java.io.IOException
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 includedjava.io.IOException
FacesException
FaceletException
ELException
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.