Method Summary |
|
public void | addParameter(String name, Object value) Adds the parameter with the given name and the given
value . |
public static UIForm | findForm(UIComponent component) Recursively finds the valueHolder's form (if the valueHolder is nested within a form).
Parameters: component - the valueHolder for which to find the form. |
public String | getErrorMessage(FacesContext context) Retrieves an error message, using the validator's message combined with
the errant value. |
public Map | getParameters() Gets the parameters for this validator (keyed by name). |
public String | getType() The getter method for the type property. |
public static ValidatorAction | getValidatorAction(String name) Returns the commons-validator action that's appropriate for the validator
with the given name . |
public static ValidatorResources | getValidatorResources() Returns the commons-validator resources. |
public void | setArgs(String[] args) The setter method for the arg property. |
public void | setType(String type) The setter method for the type property. |
public String | toString() |
public void | validate(FacesContext context, UIComponent component, Object value) This validate method is called by JSF to verify the
component to which the validator is attached. |