RE: form validation gets indefinite loops in web browsers

2009-09-17 Thread Jipu Jiang
2009 17:55 To: Struts Users Mailing List Subject: Re: form validation gets indefinite loops in web browsers Jipu Jiang wrote: >prepare Why are you redirecting? -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.a

Re: form validation gets indefinite loops in web browsers

2009-09-16 Thread Dale Newfield
Jipu Jiang wrote: prepare Why are you redirecting? -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Form validation: how can khow in jsp that my action validation failed?

2009-02-27 Thread hernan gonzalez
Your jsp has access to your action, in the valuestack. So, you should be able to ask Beware: for validation errors, besides hasActionErrors() you might want to ask hasFieldErrors(). Or use hasErrors() , that includes both Hernán J. González http://hjg.com.ar/ On Fri, Feb 27, 2009

Re: Form Validation

2006-08-23 Thread Scott Van Wart
Chetan Pandey wrote: Is their a way to specify multiple inputs. Nope. A wise man once told me that validate="true" is there only for convenience. So the workaround is to do something like 'validate="false"', omit the input= tag, and add forwards like, public void create( ActionM

Re: Form validation not happening

2006-07-04 Thread Vinicius Carvalho
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 <[EMAIL PROTECTED]> wrote: Make sure you're using the correct ValidatorXYZForm base class. ValidatorActionForm uses the key

Re: Form validation not happening

2006-07-03 Thread Paul Benedict
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 <[EMAIL PROTECTED]> wrote: I did a deeper look on my project, enabled de

Re: Form validation not happening

2006-07-03 Thread Vinicius Carvalho
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 <[EMAIL PROTECTE

Re: Form validation

2004-12-08 Thread Niall Pemberton
repareName() method. Niall - Original Message - From: "Donie Kelly" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 08, 2004 5:35 PM Subject: RE: Form validation > Hi Jim > > Tried that but I have

Re: Form validation

2004-12-08 Thread Wendy Smoak
From: "Donie Kelly" <[EMAIL PROTECTED]> > Tried that but I have Javascript validation turned on for the page. It's > kicking in before the submit. Is there a way to disable the javascript > validation when the cancel button is pressed. In your case, it sounds to me like the cancel/reset buttons do

RE: Form validation

2004-12-08 Thread Jim Barrows
> -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 10:35 AM > To: Struts Users Mailing List > Subject: RE: Form validation > > > Hi Jim > > Tried that but I have Javascript validation turned on for

RE: Form validation

2004-12-08 Thread Donie Kelly
t: 08 December 2004 17:36 To: Struts Users Mailing List Subject: RE: Form validation > -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 10:22 AM > To: Struts Users Mailing List > Subject: RE: Form validation > > &g

RE: Form validation

2004-12-08 Thread Jim Barrows
> -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 10:22 AM > To: Struts Users Mailing List > Subject: RE: Form validation > > > Thanks Jim, that works for the initial validation. Thank you. > > However

Re: Form validation

2004-12-08 Thread Wendy Smoak
From: "Donie Kelly" <[EMAIL PROTECTED]> > I have a form that uses the standard form validation based on the > validation.xml file. It all works fine except for when I'm pre-populating > the form on first showing. The validation is kicking in before the data is > retrieved from the database. In the

RE: Form validation

2004-12-08 Thread Donie Kelly
n the form I cannot reset the page. What can I do in this case? Thanks Donie -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 08 December 2004 17:28 To: Struts Users Mailing List Subject: RE: Form validation > -Original Message- > From: Donie Kelly [ma

RE: Form validation

2004-12-08 Thread Jim Barrows
> -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 10:14 AM > To: Struts Users Mailing List > Subject: Form validation > > > Hi all > > > > I have a form that uses the standard form validation based on the > validation.xml file. I

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
Thanks Jim. I'll take a look. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:33 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug) > -Original Message- >

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 2:31 PM > To: Struts Users Mailing List > Subject: RE: form validation (How to setup commons-logging to debug) > > > Anywhere for now is fine with me. The

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
Anywhere for now is fine with me. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:26 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug) > -Original Message- > From:

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 2:27 PM > To: Struts Users Mailing List > Subject: RE: form validation (How to setup commons-logging to debug) > > > Thanks. You wouldn't mind tell

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
Thanks. You wouldn't mind telling where the output goes? Is it going to STDOUT? -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:12 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread David Friedman
s you aren't interested in seeing display logging information. Regards, David P.S. I guess it's now "Hey Jim, [STRUTS] Tag, you're it!" -Original Message- From: Leung, Albert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:03 PM To: Struts Users Mailing

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
I'm going to give that a try. Thanks. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:07 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug) > -Original Message

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 2:03 PM > To: Struts Users Mailing List > Subject: RE: form validation (How to setup commons-logging to debug) > > > I'm sorry. I've check the

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
r 01, 2004 4:23 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug) I haven't done this (manually - I've been copying my blank setup) in a while, but the basic steps are: a) Make sure you have a commons-logging jar in WEB-INF/lib I use

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread David Friedman
- From: Leung, Albert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 3:41 PM To: Struts Users Mailing List Subject: RE: form validation David, I've checked everything thoroughly. I've eliminated spelling errors and missing references. It would be a great help if you could sh

RE: form validation

2004-09-01 Thread Susan Bradeen
"Jim Barrows" <[EMAIL PROTECTED]> wrote on 09/01/2004 03:35:14 PM: > > > > -Original Message- > > From: Leung, Albert [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 01, 2004 12:31 PM > > To: Struts Users Mailing List > > Sub

RE: form validation

2004-09-01 Thread Leung, Albert
TED] Sent: Wednesday, September 01, 2004 3:35 PM To: Struts Users Mailing List Subject: RE: form validation Albert, When all that is correctly setup, I've only ever had problems with a misspelled forward inside my action or missing JSP/html/other pages. I've had a blank page show up when th

RE: form validation

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 12:31 PM > To: Struts Users Mailing List > Subject: RE: form validation > > > Yes they are exactly the same. So 1, 2, and 3 are ok. Does the jsp/action/

RE: form validation

2004-09-01 Thread David Friedman
ction? Have you turned on the logging features or commons logging for further details even up to the debug level? Regards, David -Original Message- From: Leung, Albert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 3:26 PM To: Struts Users Mailing List Subject: RE: form validati

RE: form validation

2004-09-01 Thread Leung, Albert
Yes they are exactly the same. So 1, 2, and 3 are ok. > > > > > For some reason I can't get form validation to work for a particular > > project. If I take the same ValidatorForm, use the same > > validation entry in > > formset, and update the struts-config to use the same form > > bean and ac

RE: form validation

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 12:13 PM > To: Struts Users Mailing List > Subject: RE: form validation > > > > > > > For some reason I can't get form validation to wor

RE: form validation

2004-09-01 Thread Leung, Albert
: form validation Leung, Albert wrote: > For some reason I can't get form validation to work for a particular > project. If I take the same ValidatorForm, use the same validation entry in > formset, and update the struts-config to use the same form bean and action > it works fine i

RE: form validation

2004-09-01 Thread Leung, Albert
; Regards, > David -Original Message- From: Leung, Albert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 3:13 PM To: Struts Users Mailing List Subject: RE: form validation > > For some reason I can't get form validation to work for a particular > project. I

Re: form validation

2004-09-01 Thread Bill Siggelkow
Leung, Albert wrote: For some reason I can't get form validation to work for a particular project. If I take the same ValidatorForm, use the same validation entry in formset, and update the struts-config to use the same form bean and action it works fine in another project. The project that has pro

RE: form validation

2004-09-01 Thread David Friedman
Wednesday, September 01, 2004 3:13 PM To: Struts Users Mailing List Subject: RE: form validation > > For some reason I can't get form validation to work for a particular > project. If I take the same ValidatorForm, use the same > validation entry in > formset, and update the s

RE: form validation

2004-09-01 Thread Leung, Albert
> > For some reason I can't get form validation to work for a particular > project. If I take the same ValidatorForm, use the same > validation entry in > formset, and update the struts-config to use the same form > bean and action > it works fine in another project. The project that has > pro

RE: form validation

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 11:56 AM > To: Struts Users Mailing List > Subject: form validation > > > For some reason I can't get form validation to work for a particular > project. If I take the same Validat

RE: Form Validation !!!.

2004-08-04 Thread rahul.chaudhary
in the validation xml specify the page attribute (value should be equal to the page number) against the form property.Also set the page property on the input screen. -Original Message- From: RamKumar [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 10:31 AM To: [EMAIL PROTECTED]

RE: Form Validation Before Submit

2004-06-15 Thread Ciaran Hanley
As you suggested, setting validate to false worked. Strange it has never happened with any other forms in my app. Thanks for your help Ciaran -Original Message- From: ksitron [mailto:[EMAIL PROTECTED] Sent: 15 June 2004 17:59 To: Ciaran Hanley Subject: Re: Form Validation

Re: Form Validation Before Submit

2004-06-15 Thread Lionel
Ciaran Hanley wrote: > Hello, > > > > I have a simple form in my application which I am having trouble with. > > > > On entering the action class and forwarding to the JSP I see error > messages which should only appear when the form has been validated > after submitting. do you check that the for

RE: Form Validation Before Submit

2004-06-15 Thread Geeta Ramani
Ciaran: Try specifically adding "validate=false" and see what happens..? Geeta > -Original Message- > From: Ciaran Hanley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 15, 2004 11:28 AM > To: 'Struts Users Mailing List'; [EMAIL PROTECTED] > Subject

RE: Form Validation Before Submit

2004-06-15 Thread Ciaran Hanley
PROTECTED] Sent: 15 June 2004 17:02 To: Struts Users Mailing List Subject: Re: Form Validation Before Submit In your struts-config.xml, if you have the validate="true" set. Then, the validate method of your form will be called before your action.execute method is called. Ciaran Hanley wrot

RE: Form Validation Before Submit

2004-06-15 Thread Ciaran Hanley
: [EMAIL PROTECTED] Subject: Re: Form Validation Before Submit Ciaran- Sounds like you may possibly have key or mouse events hooked to JavaScript? Could you display for us the entire Form Header (specifically the JavaScript portion) for us? Gura mie ayd, Martin - Original Message - From

Re: Form Validation Before Submit

2004-06-15 Thread ksitron
In your struts-config.xml, if you have the validate="true" set. Then, the validate method of your form will be called before your action.execute method is called. Ciaran Hanley wrote: Hello, I have a simple form in my application which I am having trouble with. On entering the action class and

Re: form validation, assigning context

2004-06-09 Thread Niall Pemberton
No is the short answer, but theres nothing to stop you storing them in the request under your own key as well in your ActionForm's validate method. Niall - Original Message - From: "Bullard, James" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 08, 2004 9:26 PM Subject: