org.apache.struts.validator

Class DynaValidatorActionForm

public class DynaValidatorActionForm extends DynaValidatorForm 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.

Since: Struts 1.1

Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $

Method Summary
StringgetValidationKey(ActionMapping mapping, HttpServletRequest request)
Returns the Validation key.

Method Detail

getValidationKey

public String getValidationKey(ActionMapping mapping, HttpServletRequest request)
Returns the Validation key.

Parameters: mapping The mapping used to select this instance request The servlet request we are processing

Returns: validation key - the action element's 'path' attribute in this case

Copyright B) 2000-2007 - The Apache Software Foundation