> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 18, 2004 1:28 PM > To: Struts Users Mailing List > Subject: RE: Validation plug-in & Websphere Studio 5.0.1 > > > > > > > >>OH that's it make me think I had the easy solution :) *LOL* > >>I'd try stepping through the add code and see what it's > doing. Course, > you've probably done that. > > I was hoping for an easy solution. I figured surely someone > has run into > this before. > > I'm stepping through the Struts code right now. So far I can > tell that > it's iterating through the RequestProcessor & going through the > ActionServlet.doPost() with every iteration. It's reall y > bogging down > WSAD so progress is slow.
This makes me think it's your stuts config, as was mentioned by another poster... input mapped to the action would do this.... > > > > Bart M Fuller > DaimlerChrysler Services North America LLC > CIMS 405-03-15 > 27777 Inkster Road > Farmington HIlls MI 48334-5326 > > Phone: 248-427-5920 (T/L) 870-5920 > mailto: [EMAIL PROTECTED] > > > > > > > "Jim Barrows" > > <[EMAIL PROTECTED] > > m> > To > "Struts Users Mailing > List" > 08/18/2004 03:14 > <[EMAIL PROTECTED]> > PM > cc > > > > Subject > Please respond to RE: Validation plug-in > & Websphere > "Struts Users Studio 5.0.1 > > Mailing List" > > <[EMAIL PROTECTED] > > he.org> > > > > > > > > > > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 18, 2004 12:06 PM > > To: Struts Users Mailing List > > Subject: RE: Validation plug-in & Websphere Studio 5.0.1 > > > > > > > > > > > > > > My bad. > > > > That was some code I was trying just to see what would > > happen. This line > > gets the same results and is the one I started with. Promise. > > > > errors.add(ActionErrors.GLOBAL_MESSAGE, new ActionError( > > "errors.physical.takeover")); > > OH that's it make me think I had the easy solution :) *LOL* > That looks correct to me. Looks like what I've got in my own code. > I'd try stepping through the add code and see what it's > doing. Course, > you've probably done that. > > > > > > > > > > > > > > > > > > > > > > > > > > > "Jim Barrows" > > > > <[EMAIL PROTECTED] > > > > m> > > To > > "Struts Users Mailing > > List" > > 08/18/2004 02:54 > > <[EMAIL PROTECTED]> > > PM > > cc > > > > > > > > Subject > > Please respond to RE: Validation plug-in > > & Websphere > > "Struts Users Studio 5.0.1 > > > > Mailing List" > > > > <[EMAIL PROTECTED] > > > > he.org> > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, August 18, 2004 11:38 AM > > > To: Struts Users Mailing List > > > Subject: RE: Validation plug-in & Websphere Studio 5.0.1 > > > > <snip> bunch of code</snip> > > > > > if(physicalAudit == true){ > > > if(takeoverAudit == true){ > > > errors.add("Test add", new ActionError( > > > "errors.physical.takeover")); > > > > from the javadoc: > > public void add(java.lang.String property, > > ActionError error) > > property - Property name (or ActionErrors.GLOBAL_ERROR) > > > > I don't think your property name is not a valid property name. try > > test.add, testAdd or something similar. > > Or, for testing this out try GLOBABL_ERROR as defined above. > > > > > > > > > } > > > } > > > if(errors.isEmpty()){ > > > return null; > > > }else{ > > > return errors; > > > } > > > } > > > > > > > > > > > > > > > > > > > > > > > > "Jim Barrows" > > > > > > <[EMAIL PROTECTED] > > > > > > m> > > > To > > > "Struts Users Mailing > > > List" > > > 08/18/2004 01:58 > > > <[EMAIL PROTECTED]> > > > PM > > > cc > > > > > > > > > > > > Subject > > > Please respond to RE: Validation plug-in > > > & Websphere > > > "Struts Users Studio 5.0.1 > > > > > > Mailing List" > > > > > > <[EMAIL PROTECTED] > > > > > > he.org> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > Sent: Wednesday, August 18, 2004 10:49 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: Validation plug-in & Websphere Studio 5.0.1 > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm new to Struts and couldn't find anything about this on > > > > the archive so > > > > please bear with me if I'm repeating a question. > > > > > > > > I'm developing a Struts 1.1 web app and trying to implement > > > > the validation > > > > plug-in. Things went well as long as I was only using the > > > > validations that > > > > came with the plug-in. When I try to add my own custom > > > validation by > > > > overriding the validate() method of the form the server > > > > crashes with an > > > > IllegalStateException after dozens of loops in the validate() > > > > method. The > > > > statement causing the problem is the errors.add() statement. > > > > Without it > > > > there is no problem. > > > > > > > > If anyone can help I'd be grateful. I can provide more > > > > details from the > > > > log if needed. > > > > > > How about some code? Log is cool.... but code is better :) > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]