There are currently four flavours of "Validator" ActionForms, so IMO it
would be good to say something about this.

Your example shows using the ValidatorForm - the alternative is if someone
wants to use "Dyna" forms and the equivalent is DynaValidatorForm, it would
be good to show an example of this.

Both ValidatorForm and DynaValidatorForm use the form "name" attribute from
the struts-config.xml action mapping to find the validation rules from the
validation.xml - there is an alternative to this, which is to use the
action's "path" attribute from the struts-config.xml action mapping -
ValidatorActionForm and DynaValidatorActionForm use this mechanism.


Niall


----- Original Message ----- 
From: "Irfandhy Franciscus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 21, 2004 5:54 PM
Subject: New Struts tutorial in Struts Wiki


> Hi all,
>
> After a year of using Struts I want to contribute something to the
> community. So I decided to write a short tutorial on Struts validator
> framework in Struts wiki
>
> http://wiki.apache.org/struts/StrutsBeginnerValidatorFramework
>
> I will really appreciate it, if you guys can stop by for a minute to
> review the tutorial for any errata, especially those Struts Guru in the
> mailing list :D
>
> Regards,
> Irfandhy Franciscus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



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

Reply via email to