Either extend ValidatorForm or ValidatorActionForm. There are Dyna flavors
of those forms as well. If you use Struts 1.2.4 your form can just be a POJO
without extending any flavor of ValidatorForm, Struts will just turn it into
a BeanValidatorForm which is a ValidatorForm and so the Validations would
work just fine. Please refer to the examples that come bundled with the
Struts source download.

On 10/12/05, Miren Urkijo <[EMAIL PROTECTED]> wrote:
>
> Hello
> i am trying to beging using validator, struts validator.
> i have some problems:
> into my struts-config.xml file i have some entryes like this:
> <form-bean name="ofertaForm" type="com.domain.myOfertaForm" />
> Well i want to use the validator. the type of the forms must be
> org.apache.struts.validator.DynaValidatorActionForm ?? if it must be of
> this
> form how i make the reference to my com.domain.myOfertaForm?
>
> Can anybody send me one example of the validator.xml and
> validator-rules.xml
> files? i want to see one example for making my examle.
> Thanks. I need help
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to