Re: Error Handling in Struts

2004-09-29 Thread Kranti Parisa
Priya, onclick of the button u r getting the error na.. just have alook in the struts-config file that which action class is calling while u r clicking that button.. go to that class and find out the if condition loop where that validation is placed... i think there is some code .. which is ch

Re: Error Handling in Struts

2004-09-29 Thread James Mitchell
Depending on which version of Struts you are using, use requiredif or validwhen. See the online documentation for further details. http://struts.apache.org/userGuide/dev_validator.html -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx

Re: Error Handling in Struts

2004-09-29 Thread Erik Weber
Where is the complication? During validation? If so, perhaps using requiredif/validwhen rules would help. This way, the validator can be told to forego validation on the second field if the value of the first field passes some test (matches some value). A common example of this is where you hav

RE: Error Handling in Struts

2004-09-29 Thread Gupta, Sahil
Turn the validation off on the second dropdown. -Original Message- From: Kranti Parisa [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 9:39 AM To: Struts Users Mailing List Subject: Re: Error Handling in Struts How u r getting the error message.. urself has done something

RE: Error Handling in Struts

2004-09-29 Thread Priya Jotwani
t: Re: Error Handling in Struts How u r getting the error message.. urself has done something for it.. is that error message u r getting is a javascript alert?? or u r getting that frm application.properties file??? i mean java side??? On Wed, 29 Sep 2004 18:55:19 +0530, Priya Jotwani <[EMAIL P

Re: Error Handling in Struts

2004-09-29 Thread Kranti Parisa
How u r getting the error message.. urself has done something for it.. is that error message u r getting is a javascript alert?? or u r getting that frm application.properties file??? i mean java side??? On Wed, 29 Sep 2004 18:55:19 +0530, Priya Jotwani <[EMAIL PROTECTED]> wrote: > Hi, > > I hav