struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iris <i...@enix.org>
Subject Re: Struts Validator
Date Tue, 17 Dec 2002 13:24:47 GMT
Suresh Addagalla wrote:

>Hi Iris,
>
>I came across the following excerpt from Struts kickstart:
>
>"After moving all the properties out of the bean and into the DynaForm
>definition in
>struts-config.xml, the only thing left in the bean is the validate
>function. By
>using the Struts Validation framework, which ties into the Commons
>Validator
>package, you can remove this last piece of code and get rid of the form
>bean."
>
>Are we sure that we do need to define the form bean (which extends
>ValidatorForm) if we use Struts Validator?
>  
>
For now I didn't use DynaForm, but I know your form bean can extends 
DynaValidatorForm
instead of ValidatorForm to use validator. But I didn't test it.

Iris



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message