Alright thanks, you know what? I am giving up Struts
I dont understand why this stuff has to be so complicated and nobody in
the whole world knows anything about it, I am Swing developer and I
think I will keep that.
Thanks anyway
Laurie Harper escreveu:
Erm, yes? You were complaining th
Erm, yes? You were complaining that validator wasn't being invoked after
you switched to sub-classing ActionForm directly / implementing
validate() yourself. I was just pointing out that it's not expected to
be in that case.
L.
Francisco Antonio Vieira Souza wrote:
Everything you said IS her
Everything you said IS here.
Laurie Harper escreveu:
If you are just using an ActionForm subclass you wrote, Validator
isn't used so the behaviour you're now seeing is correct. If you want
to use Validator, your ActionForm class needs to extend ValidatorForm
or ValidatorActionForm rather than
If you are just using an ActionForm subclass you wrote, Validator isn't
used so the behaviour you're now seeing is correct. If you want to use
Validator, your ActionForm class needs to extend ValidatorForm or
ValidatorActionForm rather than ActionForm; if you want to include a
validate() method
5 8:30 PM
To: Struts Users Mailing List
Subject: Re: Help - I cannot validate a simple form with 2 fields
I really dont get it, I might be being so stupid not figuring out what
is going on wrong here, but I dont.
Clearing a little. I decided not to use DynaForm and go back to the
usual ActionForm and
try this
errors.add("usuario", new ActionError("login.usuario.requerido"));
> -Original Message-
> From: Francisco Antonio Vieira Souza [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 21, 2005 8:30 PM
> To: Struts Users Mailing List
> Subj
I really dont get it, I might be being so stupid not figuring out what
is going on wrong here, but I dont.
Clearing a little. I decided not to use DynaForm and go back to the
usual ActionForm and gave up using Client-side validation.
When I implement the validate method of the Bean (as it is
On the client side validation it looks like you have spelt the javascript
method name wrong in the form's onsubmit event. You can easily check the
client side by seeing what javascript has been generated for the page by
viewing the source.
For the sever side I can't see anything obviously wrong. P
8 matches
Mail list logo