RE: Validation errors in Action

2007-10-12 Thread Dean Pullen
Is there any documentation anywhere, where I can see how to correctly return errors in the validate method? Cheers. -Original Message- From: Julien Leonard [mailto:[EMAIL PROTECTED] Sent: 12 October 2007 16:17 To: 'Struts Users Mailing List' Subject: RE: Validation errors in Action

RE: Validation errors in Action

2007-10-12 Thread Julien Leonard
Hello, Why don't you use the validate() method ? Julien -Message d'origine- De : Dean Pullen [mailto:[EMAIL PROTECTED] Envoyé : vendredi 12 octobre 2007 17:13 À : Struts Users Mailing List Objet : Validation errors in Action Hi all, How do you get hold of the validation errors

Validation errors in Action

2007-10-12 Thread Dean Pullen
Hi all, How do you get hold of the validation errors in an Action? Basically due to some complexity, we need to manually add an error within the prepare() method if something isn't correct. Thanks, Dean. - To unsubscribe, e

RE: Validation errors in Action

2007-10-12 Thread Dean Pullen
Just stumbled on that as you replied. Thanks again. (But not for the pun ;) ) -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 12 October 2007 16:27 To: Struts Users Mailing List Subject: RE: Validation errors in Action --- Dean Pullen [EMAIL PROTECTED] wrote

RE: Validation errors in Action

2007-10-12 Thread Dave Newton
--- Dean Pullen [EMAIL PROTECTED] wrote: Is there any documentation anywhere, where I can see how to correctly return errors in the validate method? This is a WW article but should still be valid. Ha ha, valid, get it? http://today.java.net/pub/a/today/2006/01/19/webwork-validation.html d.