org.apache.struts.validator
Class DynaValidatorActionForm
- DynaBean, Serializable
public class DynaValidatorActionForm
implements DynaBean, Serializable
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
ValidatorPlugin
definition in struts-config.xml
for validation rules.
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
contains , get , get , get , getDynaClass , getDynaProperty , getMap , getString , getStrings , initialize , initialize , isDynaAssignable , remove , reset , reset , set , set , set , setDynaActionFormClass , toString |
getValidationKey
public String getValidationKey(ActionMapping mapping,
HttpServletRequest request)
Returns the Validation key.
- getValidationKey in interface DynaValidatorForm
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
- validation key - the action element's 'path' attribute in this case
Copyright B) 2000-2007 - The Apache Software Foundation