public class LoadBundle
extends javax.faces.component.UIComponentBase
Component counterpart of the standard loadBundle tag. Since it's a component it can be used with HTML templates.
| Constructor and Description |
|---|
LoadBundle() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context)
Invokes rendering of the component.
|
String |
getFamily() |
void |
setBasename(String basename)
Sets the base name of the resource bundle to be loaded.
|
void |
setVar(String var)
Sets the name of a request scope attribute under which the resource
bundle will be exposed as a Map.
|
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic String getFamily()
getFamily in class javax.faces.component.UIComponentnullpublic void setBasename(String basename)
Sets the base name of the resource bundle to be loaded.
basename - resource bundle namepublic void setVar(String var)
Sets the name of a request scope attribute under which the resource bundle will be exposed as a Map.
var - session scoped attributepublic void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
Invokes rendering of the component.
encodeBegin in class javax.faces.component.UIComponentBasecontext - faces contextIOException - response writerCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.