org.apache.myfaces.custom.equalvalidator
public class EqualValidator extends Object implements Validator, StateHolder
Version: $Revision: 178130 $ $Date: 2005-05-24 09:24:46 +0200 (Tue, 24 May 2005) $
Field Summary | |
---|---|
static String | EQUAL_MESSAGE_ID The message identifier of the FacesMessage to be created if the equal_for check fails. |
static String | VALIDATOR_ID The standard converter id for this converter. |
Constructor Summary | |
---|---|
EqualValidator() |
Method Summary | |
---|---|
String | getFor() |
boolean | isTransient() |
void | restoreState(FacesContext context, Object state) |
Object | saveState(FacesContext context) |
void | setFor(String string) |
void | setTransient(boolean newTransientValue) |
void | validate(FacesContext facesContext, UIComponent uiComponent, Object value) |
The message identifier of the FacesMessage to be created if the equal_for check fails.
The standard converter id for this converter.
Returns: the foreign component_id, on which a value should be validated
Parameters: string the foreign component_id, on which a value should be validated