I had the same problem. The solution was that my webapp was not using:
jakarta-oro.jar
which is a regular expression package used by some, but not all, of the
validations.
- Charlie
Dear Struts users,
I have done a simple web-app using validator framework.
the JavaScript validations are
I am trying to validate a form that includes, among other things, a
checkbox and a text field that contains a credit card number.
I specify that the checkbox is required. I assume this means this
means the checkbox must be checked in order for validation to succeed?
However, validation for the
Dhruva B. Reddy wrote:
I am trying to validate a form that includes, among other things, a
checkbox and a text field that contains a credit card number.
The nightly build of struts now handles checkboxes, select's, radio buttons.
I specify that the checkbox is required. I assume this means
Dear Struts users,
I have done a simple web-app using validator framework.
the JavaScript validations are proper.But in the server side
validations, i have problems.
Only,the 'required','minlength''maxlength' validations are
working.Rest other validators have no effect even though, i
have
Dear Struts users,
I have done a simple web-app using validator framework.
the JavaScript validations are proper.But in the server side
validations, i have problems.
Only,the 'required','minlength''maxlength' validations are
working.Rest other validators have no effect even though, i have
: 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
Websphere 5 has a nice struts-config UI that helps to keep everything
organized. I've heard of other UI's out there too.
- Keith
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 5:26 PM
To: Struts Users Mailing List
Subject: Re: Validation
: 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
I'm trying to set up struts validation (using the validate() function in the
actionForm) and I'm getting a few problems.
First, as soon as I open the form it shows the validation errors. It doesn't
wait until I fill out the form. Is there a way to prevent this?
Second if I fill out the form
Nathan Ewing wrote:
I'm trying to set up struts validation (using the validate() function in the
actionForm) and I'm getting a few problems.
First, as soon as I open the form it shows the validation errors. It doesn't
wait until I fill out the form. Is there a way to prevent this?
yes sure, you
I did as you suggested and it doesn't show the validation errors the first time
(although I'm a bit disappointed I have to do 2 separate actions just for the
same thing.
Now if I hit submit I get the nullpointer exception regardless of whether I
fill in the form correctly or not.
Nathan
---
Nathan wrote:
I'm trying to set up struts validation (using the validate() function in
the
actionForm) and I'm getting a few problems.
First, as soon as I open the form it shows the validation errors.
It doesn't wait until I fill out the form. Is there a way to prevent this?
Search the
Actually version 1.1.b3 Maybe I should try the final release.
Nathan
--- Wendy Smoak [EMAIL PROTECTED] wrote:
Nathan wrote:
I'm trying to set up struts validation (using the validate() function in
the
actionForm) and I'm getting a few problems.
First, as soon as I open the form it
Upgraded, didn't help.
Nathan
--- Nathan Ewing [EMAIL PROTECTED] wrote:
Actually version 1.1.b3 Maybe I should try the final release.
Nathan
--- Wendy Smoak [EMAIL PROTECTED] wrote:
Nathan wrote:
I'm trying to set up struts validation (using the validate() function in
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
--- Adam Hardy [EMAIL PROTECTED] wrote:
What is it about action mappings? People seem to think they cost money
or something. Every struts project I've done had hundreds. If you need
two action mappings, don't worry about it. I think somebody worked out
once that tomcat would only start to
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
Hi there,
I am experiencing difficulty with the struts validation functionality. I am
using Internet Explorer 6.0.28 and 6.0.26 running on Windows 2000 and the
problem is that browser does not interpret the HTML of a response from a
tomcat server (version 4.0.3) running under Tru64 with the
I maybe taking the
wrong approach with Struts where rather than creating an attribute for every tag
html:text inputin the form for a web page, I create and and use an object
that has all those attributes and store that object in the session. I have
been able to get everything to work except
I
figured out my problem.
Thanks,
Kent
-Original Message-From: Kent Roylance
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 30, 2001 6:09
AMTo: [EMAIL PROTECTED]Subject: Validation
problems
I maybe taking the
wrong approach with Struts where rather than creating
23 matches
Mail list logo