On 11/12/2003 11:35 PM Nathan Maves wrote:
What is the difference between these three

DynaActionForm

DynaValidatorForm
DynaValidatorActionForm

I assume that the first does no validation. But I can not find any docs on how to use the second two.

Hi Nathan,
the first allows the developer to write their own validation routines in the validate() method. The second work within the Validator framework, which includes validate.xml configuration, to do validation automatically. The difference between them centers on which validation configuration the class chooses from the xml file, dependent on the path or on the form name.


The best place to read up on this is the jakarta struts website. It really is quite comprehensive and where it is not, there are links to other resources such as the validator wiki.

Adam

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to