|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase org.apache.shale.clay.component.LoadBundle
public class LoadBundle
Component counterpart of the standard loadBundle tag. Since it's a component it can be used with HTML templates.
Constructor Summary | |
---|---|
LoadBundle()
|
Method Summary | |
---|---|
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. |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
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, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoadBundle()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
null
public 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.UIComponentBase
context
- faces context
IOException
- response writer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |