: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 5:20 PM
To: Struts Users Mailing List
Subject: Re: More Validation Problems
wait til you graduate onto struts validator, you'll have a ball then ;)
Nathan Ewing wrote:
Omg I figured it out :)
In my validation, to see if someone
: More Validation Problems
wait til you graduate onto struts validator, you'll have a ball then ;)
Nathan Ewing wrote:
Omg I figured it out :)
In my validation, to see if someone had filled in a required field I was
checking to see if the field was null. Because of this whenever the form
Mailing List
Subject: Re: More Validation Problems
wait til you graduate onto struts validator, you'll have a ball then
;)
Nathan Ewing wrote:
Omg I figured it out :)
In my validation, to see if someone had filled in a required field I
was
checking to see if the field was null
Well I figured out why I was getting a validation error. I was returning a
null error if there were no errors.
Unfortunately now I find my real problem.
My form shows correctly (more or less), but if I hit submit instead of just
popping back up with validation errors it goes to the Action class
Omg I figured it out :)
In my validation, to see if someone had filled in a required field I was
checking to see if the field was null. Because of this whenever the form
displayed the bean would be created with null fields and errors would display.
Then when I hit submit it would make the blank
wait til you graduate onto struts validator, you'll have a ball then ;)
Nathan Ewing wrote:
Omg I figured it out :)
In my validation, to see if someone had filled in a required field I was
checking to see if the field was null. Because of this whenever the form
displayed the bean would be
I thought I had this licked in my first form. I was able to get the default
validations to work along with a couple of custom ones:) However, not on a
subsequent form. The required validation and two custom ones work on the
first form, but not on the second. Its like the never even are
7 matches
Mail list logo