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

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 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-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Scanned by MailDefender - managed email security from intY - 
www.maildefender.net

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 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-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:
 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.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Scanned by MailDefender - managed email security from intY -
www.maildefender.net

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]