|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.validator.ValidatorBase
org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator
org.apache.myfaces.custom.equalvalidator.EqualValidator
public class EqualValidator
Field Summary | |
---|---|
static java.lang.String |
VALIDATOR_ID
|
Fields inherited from class org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator |
---|
EQUAL_MESSAGE_ID |
Fields inherited from interface javax.faces.validator.Validator |
---|
NOT_IN_RANGE_MESSAGE_ID |
Constructor Summary | |
---|---|
EqualValidator()
|
Method Summary | |
---|---|
java.lang.String |
getFor()
the id of the foreign component, which is needed for the validation |
void |
restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setFor(java.lang.String forParam)
|
Methods inherited from class org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator |
---|
findUIOutputConverter, getConvertedValueNonValid, getRenderer, validate |
Methods inherited from class org.apache.myfaces.validator.ValidatorBase |
---|
getDetailMessage, getFacesContext, getFacesMessage, getMessage, getStringValue, getSummaryMessage, getValueExpression, isTransient, restoreAttachedState, saveAttachedState, setDetailMessage, setMessage, setSummaryMessage, setTransient, setValueExpression |
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 VALIDATOR_ID
Constructor Detail |
---|
public EqualValidator()
Method Detail |
---|
public java.lang.String getFor()
AbstractEqualValidator
getFor
in class AbstractEqualValidator
public void setFor(java.lang.String forParam)
setFor
in class AbstractEqualValidator
forParam
- the foreign component_id, on which a value should be validatedpublic java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
saveState
in class ValidatorBase
public void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class ValidatorBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |