|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexamples.validator.CustomValidator
public class CustomValidator
A custom validator example
Constructor Summary | |
---|---|
CustomValidator()
Constructor for CustomValidator. |
Method Summary | |
---|---|
static boolean |
validateTwoFields(java.lang.Object bean,
org.apache.commons.validator.ValidatorAction va,
org.apache.commons.validator.Field field,
ActionMessages errors,
javax.servlet.http.HttpServletRequest request)
Example validator for comparing the equality of two fields http://struts.apache.org/userGuide/dev_validator.html http://www.raibledesigns.com/page/rd/20030226 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomValidator()
Method Detail |
---|
public static boolean validateTwoFields(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionMessages errors, javax.servlet.http.HttpServletRequest request)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |