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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to