struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinicius Carvalho" <java.vinic...@gmail.com>
Subject Re: Form validation not happening
Date Tue, 04 Jul 2006 14:21:35 GMT
Nope. I'm using the default commons-validator and strus libs shipped
with 1.2.9. And sorry but did not understand your XYZ example ?????

Regards

On 7/3/06, Paul Benedict <paul4christ79@yahoo.com> wrote:
> Make sure you're using the correct ValidatorXYZForm base class. ValidatorActionForm uses
the key of the URI, ValidatorForm uses the key of the form name.
>
> Did you recently upgrade Struts or the Validator?
>
> Vinicius Carvalho <java.vinicius@gmail.com> wrote: I did a deeper look on my project,
enabled debug output and even
> though on the log it says that the requestprocessor is calling
> validate, my validate method on my class (gave up on validation using
> xml) does not even get called...
>
> Any ideas?
>
> Regards
>
> On 7/3/06, Vinicius Carvalho  wrote:
> > Hello there! I'm trying to use form validation (It was working, but
> > somehow, I messed something and it quit working). Here are my files:
> >
> > struts-config.xml
> >
> >
> >
> >
> >
> > type="com.acme.RegisterAction"  name="userForm"
> > input="/registerScreen.do">
> >
> >
>
> >
> >
> >         property="pathnames"
> >         value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
> >
> >
> >
>
> >
> >
> >
> >
> >
> >
> >
> >
> > My UserForm extends ValidatorActionForm!
> >
> > When the user submits, instead of returning to the input page and
> > display the errors he's redirect to the action that deals with the
> > register.
> >
> > Any ideas?
> >
> > Best regards
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
> ---------------------------------
> Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better.
>

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


Mime
View raw message