Re: Validation Problems

2003-11-05 Thread Charlie Toohey
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

Validation Problems

2003-10-01 Thread Dhruva B. Reddy
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

Re: Validation Problems

2003-10-01 Thread Robert Leland
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

Validation Problems

2003-07-10 Thread guruprasad jakka
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

Server side Validation Problems

2003-07-09 Thread guruprasad jakka
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

RE: More Validation Problems

2003-07-03 Thread Kamholz, Keith (corp-staff) USX
: 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

RE: Validation Problems

2003-07-03 Thread Kamholz, Keith (corp-staff) USX
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

Re: More Validation Problems

2003-07-03 Thread Adam Hardy
: 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

Re: More Validation Problems

2003-07-03 Thread David Graham
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

Validation Problems

2003-07-02 Thread Nathan Ewing
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

Re: Validation Problems

2003-07-02 Thread Adam Hardy
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

Re: Validation Problems

2003-07-02 Thread Nathan Ewing
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 ---

RE: Validation Problems

2003-07-02 Thread Wendy Smoak
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

RE: Validation Problems

2003-07-02 Thread Nathan Ewing
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

RE: Validation Problems

2003-07-02 Thread Nathan Ewing
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

More Validation Problems

2003-07-02 Thread Nathan Ewing
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

Re: More Validation Problems

2003-07-02 Thread Nathan Ewing
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

Re: More Validation Problems

2003-07-02 Thread Adam Hardy
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

Re: Validation Problems

2003-07-02 Thread David Graham
--- 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

More Validation Problems

2002-12-19 Thread Weber, Jeremy
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

Validation problems with the struts validator

2002-11-20 Thread Declan O'Shanahan
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

Validation problems

2001-07-30 Thread Kent Roylance
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

RE: Validation problems

2001-07-30 Thread Kent Roylance
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