Context representative of a single request from a Facelet. This instance is passed to nearly every method call in this API.
| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | Returns: the generated idthe string from which to generate the ID. base)Generate a unique ID for the passed String |
| public abstract Object | Returns: the value of the named attributethe name of the attribute to return. name)Return an attribute set by a
previous call to |
| public abstract ExpressionFactory | Returns: theExpressionFactory for this Facelet.The ExpressionFactory to use within the Facelet this context is executing upon. |
| public abstract FacesContext | Returns: The current FacesContext bound to this "request".The current FacesContext bound to this "request". |
| public abstract void | includeFacelet(UIComponent
the parent, String UIComponent that will be the
parent of any components in the included facelet.the path of the resource containing the
facelet markup, relative to the current markup relativePath)Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as include directive in JSP) |
| public abstract void | includeFacelet(UIComponent
the parent, URL UIComponent that will be the
parent of any components in the included facelet.the absolute path to the resource containing
the facelet markup absolutePath)Include another Facelet defined at some path, absolute to this ClassLoader/OS |
| public abstract void | setAttribute(String
the name of the attribute name, Object the value of the attribute value)Support method which is backed by the current VariableMapper. |
| public abstract void | setFunctionMapper(FunctionMapper
the new fnMapper)FunctionMapperSet the FunctionMapper to use in EL evaluation/creation. |
| public abstract void | setVariableMapper(VariableMapper
the new varMapper)VariableMapperSet the VariableMapper to use in EL evaluation/creation. |
| FACELET_CONTEXT_KEY | back to summary |
|---|---|
| public static final String FACELET_CONTEXT_KEY | |
| FaceletContext | back to summary |
|---|---|
| public FaceletContext() | |
| generateUniqueId | back to summary |
|---|---|
| public abstract String generateUniqueId(String base) Generate a unique ID for the passed String | |
| getAttribute | back to summary |
|---|---|
| public abstract Object getAttribute(String name) Return an attribute set by a
previous call to | |
| getExpressionFactory | back to summary |
|---|---|
| public abstract ExpressionFactory getExpressionFactory() The ExpressionFactory to use within
the Facelet this context is executing upon. Must not be
| |
| getFacesContext | back to summary |
|---|---|
| public abstract FacesContext getFacesContext() The current FacesContext bound to
this "request". Must not be
| |
| includeFacelet | back to summary |
|---|---|
| public abstract void includeFacelet(UIComponent parent, String relativePath) throws IOException Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as include directive in JSP)
| |
| includeFacelet | back to summary |
|---|---|
| public abstract void includeFacelet(UIComponent parent, URL absolutePath) throws IOException Include another Facelet defined at some path, absolute to this ClassLoader/OS
| |
| setAttribute | back to summary |
|---|---|
| public abstract void setAttribute(String name, Object value) Support method which is backed by the current VariableMapper. | |
| setFunctionMapper | back to summary |
|---|---|
| public abstract void setFunctionMapper(FunctionMapper fnMapper) Set the FunctionMapper to use in EL evaluation/creation.
| |
| setVariableMapper | back to summary |
|---|---|
| public abstract void setVariableMapper(VariableMapper varMapper) Set the VariableMapper to use in EL evaluation/creation.
| |