I realized that since this was a custom validator, I can add the error
message to the fieldErrors with whatever key i choose - so i can now
reference that error message. What about for other validators, like the
expression validator, is there a way to specify a key for it? I think the
expression
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
--- 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
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
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 A
You can use the "property" attribute to filter a specific properties messages:
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section5
Niall
On 6/26/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
Hello there! Just as I said in my last message, it's been a while
since my
Are the fields in this order in your validation.xml?
Niall
- Original Message -
From: "P Cotton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 04, 2004 4:32 PM
Subject: Validation errors displayed in reverse order
> Hi everyone,
>
> I am having problems with the order
At 4:32 PM +0100 4/4/04, P Cotton wrote:
Hi everyone,
I am having problems with the order that validation errors are displayed
using Struts. I am using validation.xml and have a JSP page with a list of
form fields e.g.
Is this the same as http://issues.apache.org/bugzilla/show_bug.cgi?id=27992 ?
8 matches
Mail list logo