|
|||||||||
| Home >> All >> org >> apache >> struts >> [ validator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.struts.validator
Class DynaValidatorActionForm

java.lang.Objectorg.apache.struts.action.ActionForm
org.apache.struts.action.DynaActionForm
org.apache.struts.validator.DynaValidatorForm
org.apache.struts.validator.DynaValidatorActionForm
- All Implemented Interfaces:
- org.apache.commons.beanutils.DynaBean, java.io.Serializable
- public class DynaValidatorActionForm
- extends DynaValidatorForm
- implements org.apache.commons.beanutils.DynaBean, java.io.Serializable
- extends DynaValidatorForm
This class extends DynaValidatorForm and provides basic field validation based on an XML file. The key passed into the validator is the action element's 'path' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml.
- See
ValidatorPlugindefinition in struts-config.xml for validation rules.
- Since:
- Struts 1.1
- Version:
- $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| Field Summary |
| Fields inherited from class org.apache.struts.validator.DynaValidatorForm |
page, validatorResults |
| Fields inherited from class org.apache.struts.action.DynaActionForm |
dynaClass, dynaValues |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
DynaValidatorActionForm()
|
|
| Method Summary | |
java.lang.String |
getValidationKey(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Returns the Validation key. |
| Methods inherited from class org.apache.struts.validator.DynaValidatorForm |
getPage, getResultValueMap, getValidatorResults, reset, setPage, setPageFromDynaProperty, setValidatorResults, validate |
| Methods inherited from class org.apache.struts.action.DynaActionForm |
contains, get, get, get, getDynaClass, getDynaProperty, getMap, getString, getStrings, initialize, initialize, isDynaAssignable, remove, reset, set, set, set, toString |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.commons.beanutils.DynaBean |
contains, get, get, get, getDynaClass, remove, set, set, set |
| Constructor Detail |
DynaValidatorActionForm
public DynaValidatorActionForm()
| Method Detail |
getValidationKey
public java.lang.String getValidationKey(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Returns the Validation key.
- Overrides:
getValidationKeyin classDynaValidatorForm
|
|||||||||
| Home >> All >> org >> apache >> struts >> [ validator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC