Hi,

Has anyone used the server-side validation with DynaActionForms using
the Struts Validator included in Struts 1.1-b1?

There are two classes (DynaValidatorForm and DynaValidatorActionForm) in
the package org.apache.struts.validator, but when I tried always generates
a NullPointerException whith the getDynaClass() method.

Example:

// OK, but no validation
<form-bean name="loginForm" type="org.apache.struts.action.DynaActionForm">
...
</form-bean>

// NullPointerException in getDynaClass() method
<form-bean name="loginForm"
           type="org.apache.struts.validator.DynaValidatorActionForm">
...
</form-bean>

Thanks in advance,

Fernando.


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

Reply via email to