|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.ajax4jsf.component.UILoadBundle
org.ajax4jsf.component.html.AjaxLoadBundle
public class AjaxLoadBundle
Component-Type org.ajax4jsf.Bundle Component-Family org.ajax4jsf.Bundle Load 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. In difference of original f:loadBundle tag, stored in components tree and activate on ajax/non ajax responses
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
Constructor Summary | |
---|---|
AjaxLoadBundle()
Constructor to init default renderers |
Method Summary | |
---|---|
java.lang.String |
getBasename()
Base name of the resource bundle to be loaded. |
java.lang.String |
getFamily()
|
java.lang.String |
getVar()
Name of a request scope attribute under which the resource bundle will be exposed as a Map. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setBasename(java.lang.String __basename)
Base name of the resource bundle to be loaded. |
void |
setVar(java.lang.String __var)
Name of a request scope attribute under which the resource bundle will be exposed as a Map. |
Methods inherited from class org.ajax4jsf.component.UILoadBundle |
---|
decode, encodeBegin, getRendererType, loadBundle |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
Constructor Detail |
---|
public AjaxLoadBundle()
Method Detail |
---|
public void setBasename(java.lang.String __basename)
setBasename
in class UILoadBundle
basename
- - new valuepublic java.lang.String getBasename()
getBasename
in class UILoadBundle
public void setVar(java.lang.String __var)
setVar
in class UILoadBundle
var
- - new valuepublic java.lang.String getVar()
getVar
in class UILoadBundle
public java.lang.String getFamily()
getFamily
in class UILoadBundle
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |