org.openfaces.component.util
Class LoadBundle
java.lang.Object
UIComponentBase
org.openfaces.component.util.LoadBundle
- All Implemented Interfaces:
- java.io.Serializable, AjaxLoadBundleComponent
public class LoadBundle
- extends UIComponentBase
- implements java.io.Serializable, AjaxLoadBundleComponent
The LoadBundle component is used for loading a resource bundle localized for the
Locale of the current view, and expose it (as a Map) in the request attributes of
the current request. The OpenFaces LoadBundle component is similar to the LoadBundle
from the RI or MyFaces JSF implementation but can be used in the components with Ajax enabled.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
LoadBundle
public LoadBundle()
getFamily
public java.lang.String getFamily()
encodeBegin
public void encodeBegin(FacesContext context)
throws java.io.IOException
- Throws:
java.io.IOException
loadBundle
public void loadBundle(FacesContext context)
getBasename
public java.lang.String getBasename()
setBasename
public void setBasename(java.lang.String basename)
getVar
public java.lang.String getVar()
setVar
public void setVar(java.lang.String var)
saveState
public java.lang.Object saveState(FacesContext context)
restoreState
public void restoreState(FacesContext context,
java.lang.Object state)
Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.