|
||||||||||
| 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
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.rcfaces.core.internal.component.CameliaInputComponent
org.rcfaces.core.component.HiddenValueComponent
public class HiddenValueComponent
The hiddenValue Component is a non-visual component. It is equivalent to and Input hidden type HTML tag.
It allows to access and store value on the client and on the server while keeping it concealed. The clientData Component can also be used.
The hiddenValue Component has the following capability :
The default hiddenValue renderer is link to the f_hiddenValue javascript class. f_hiddenValue extends f_eventTarget, fa_serializable, fa_clientData
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
HiddenValueComponent()
|
|
HiddenValueComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Adds a listener to the component for the propertyChange event |
void |
addUserEventListener(IUserEventListener listener)
Adds a listener to the component for the user event |
void |
addValidationListener(IValidationListener listener)
Adds a listener to the component for the validation event |
protected Set |
getCameliaFields()
|
String |
getClientData(String name)
Retrieves the data associated to a variable |
String |
getClientData(String name,
FacesContext facesContext)
|
int |
getClientDataCount()
Returns the number of variable associated to the component. |
Map |
getClientDataMap()
Returns a map containing the couples variable-data |
Map |
getClientDataMap(FacesContext facesContext)
|
Object |
getServerData(String name)
Retrieves an object data associated to a key |
Object |
getServerData(String name,
FacesContext facesContext)
|
int |
getServerDataCount()
Returns the number of keys associated to the component. |
Map |
getServerDataMap()
Returns a Map object containing keys and associated data objects |
Map |
getServerDataMap(FacesContext facesContext)
|
boolean |
isValueLocked()
Get the lock state of the main value of the component. |
boolean |
isValueLocked(FacesContext facesContext)
See isValueLocked() for more details |
boolean |
isValueLockedSetted()
Returns true if the attribute "valueLocked" is set. |
String[] |
listClientDataKeys()
Returns the list of variable associated to the component. |
String[] |
listClientDataKeys(FacesContext facesContext)
|
FacesListener[] |
listPropertyChangeListeners()
Returns a list of propertyChange listener for the component |
String[] |
listServerDataKeys()
Returns a list of the keys defined for the component |
String[] |
listServerDataKeys(FacesContext facesContext)
|
FacesListener[] |
listUserEventListeners()
Returns a list of user listener for the component |
FacesListener[] |
listValidationListeners()
Returns a list of validation listener for the component |
String |
removeClientData(String name)
Removes the variable name and the data associated to it |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Removes a listener from the component for the propertyChange event |
Object |
removeServerData(String name)
Removes a key and the data object associated to it |
void |
removeUserEventListener(IUserEventListener listener)
Removes a listener from the component for the user event |
void |
removeValidationListener(IValidationListener listener)
Removes a listener from the component for the validation event |
String |
setClientData(String name,
String value)
Associates data to variable name. |
void |
setClientData(String name,
javax.el.ValueExpression value)
|
Object |
setServerData(String name,
Object value)
Associates and object to a key for the component on the server side |
void |
setServerData(String name,
javax.el.ValueExpression value)
|
void |
setValueLocked(boolean valueLocked)
Set the lock of the main value of the component. |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getConvertedValue, getFamily, getLocalValue, getRendererType, getSubmittedExternalValue, getTransientAttribute, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isSubmittedValueSetted, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setSubmittedExternalValue, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability |
|---|
isImmediate, setImmediate |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, setConverter, setValue |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public HiddenValueComponent()
public HiddenValueComponent(String componentId)
| Method Detail |
|---|
public void setClientData(String name,
javax.el.ValueExpression value)
setClientData in interface org.rcfaces.core.internal.manager.IClientDataManager
public String setClientData(String name,
String value)
IClientDataCapability
setClientData in interface IClientDataCapabilitysetClientData in interface org.rcfaces.core.internal.manager.IClientDataManagername - the variable to associate data tovalue - the data to associate to the variable
public void setServerData(String name,
javax.el.ValueExpression value)
setServerData in interface org.rcfaces.core.internal.manager.IServerDataManager
public Object setServerData(String name,
Object value)
IServerDataCapability
setServerData in interface IServerDataCapabilitysetServerData in interface org.rcfaces.core.internal.manager.IServerDataManagername - key used to retrieve the object associatedvalue - object to associate
public String getClientData(String name,
FacesContext facesContext)
public Object getServerData(String name,
FacesContext facesContext)
public Map getClientDataMap(FacesContext facesContext)
public Map getServerDataMap(FacesContext facesContext)
public String[] listClientDataKeys(FacesContext facesContext)
public String[] listServerDataKeys(FacesContext facesContext)
public int getClientDataCount()
IClientDataCapability
getClientDataCount in interface IClientDataCapabilitypublic String[] listClientDataKeys()
IClientDataCapability
listClientDataKeys in interface IClientDataCapabilitypublic String removeClientData(String name)
IClientDataCapability
removeClientData in interface IClientDataCapabilityname - the variable to associate data to
public String getClientData(String name)
IClientDataCapability
getClientData in interface IClientDataCapabilityname - the variable to associate data to
public Map getClientDataMap()
IClientDataCapability
getClientDataMap in interface IClientDataCapabilitypublic String[] listServerDataKeys()
IServerDataCapability
listServerDataKeys in interface IServerDataCapabilitypublic Map getServerDataMap()
IServerDataCapability
getServerDataMap in interface IServerDataCapabilitypublic int getServerDataCount()
IServerDataCapability
getServerDataCount in interface IServerDataCapabilitypublic Object getServerData(String name)
IServerDataCapability
getServerData in interface IServerDataCapabilityname - the key to retrieve
public Object removeServerData(String name)
IServerDataCapability
removeServerData in interface IServerDataCapabilityname - the key to remove
public final void addPropertyChangeListener(IPropertyChangeListener listener)
IPropertyChangeEventCapability
addPropertyChangeListener in interface IPropertyChangeEventCapabilitylistener - the propertyChange listener to addpublic final void removePropertyChangeListener(IPropertyChangeListener listener)
IPropertyChangeEventCapability
removePropertyChangeListener in interface IPropertyChangeEventCapabilitylistener - the propertyChange listener to removepublic final FacesListener[] listPropertyChangeListeners()
IPropertyChangeEventCapability
listPropertyChangeListeners in interface IPropertyChangeEventCapabilitypublic boolean isValueLocked()
IValueLockedCapability
isValueLocked in interface IValueLockedCapabilitypublic boolean isValueLocked(FacesContext facesContext)
isValueLocked() for more details
public final boolean isValueLockedSetted()
true if the attribute "valueLocked" is set.
true if the attribute is set.public void setValueLocked(boolean valueLocked)
IValueLockedCapability
setValueLocked in interface IValueLockedCapabilityvalueLocked - The lock state.public final void addValidationListener(IValidationListener listener)
IValidationEventCapability
addValidationListener in interface IValidationEventCapabilitylistener - the validation listener to addpublic final void removeValidationListener(IValidationListener listener)
IValidationEventCapability
removeValidationListener in interface IValidationEventCapabilitylistener - the validation listener to removepublic final FacesListener[] listValidationListeners()
IValidationEventCapability
listValidationListeners in interface IValidationEventCapabilitypublic final void addUserEventListener(IUserEventListener listener)
IUserEventCapability
addUserEventListener in interface IUserEventCapabilitylistener - the user listener to addpublic final void removeUserEventListener(IUserEventListener listener)
IUserEventCapability
removeUserEventListener in interface IUserEventCapabilitylistener - the user listener to removepublic final FacesListener[] listUserEventListeners()
IUserEventCapability
listUserEventListeners in interface IUserEventCapabilityprotected Set getCameliaFields()
getCameliaFields in class org.rcfaces.core.internal.component.CameliaInputComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||