Hello All,
I am using validation framework for the validations on the page.
When i click on submit button, it shows me the validations(required
messages) which are required, That's what it is suppose to do. But
unfortunately after clicking on the ok button on the javascript popup
window. The c
> As long as the error message is set up as I said the validation framework
> should put the field name at the start of the message... But not the
> value in the field.
>
> so in your example below you might get an error message like;
>
> Email address is a required field
>
[[SMG]] Yeah, that
iling List'
Subject: RE: Validation error messages
Thanks Steve,
That's what I'm doing when I implement my own custom validation routines,
but what about the standard Struts validation rules (which are implemented
declaratively), so you don't explicitly create any ActionErr
Sent: 02 February 2004 15:49
To: 'Struts Users Mailing List'
Subject: RE: Validation error messages
in the resource file where the error message is defined use {0} to
parametize it.
eg
address.invalid=Address {0} is not a valid email address.
When you construct the actionError add the
--Original Message-
From: Glenn, Scott [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 14:45
To: 'Struts Users Mailing List'
Subject: Validation error messages
I might be missing something obvious here, but is there an easy way to get
the submitted value to become part of the your err
I might be missing something obvious here, but is there an easy way to get the
submitted value to become part of the your error message?
So, for example, if the user enters "abc" in an email field, I'd like a message saying
:-
Address "abc" is not a valid email address.
I can get this
rsday, November 13, 2003 3:22 AM
Subject: Show validation error messages next to the corresponding input
fields
>
>
>
>
> Does anybody know how to do this? I know I can get ActionErrors which is
an
> array of messages.. but is there a way I can
Try this...
:
-Original Message-
From: Kevin Wang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 8:39 PM
To: Struts Users Mailing List
Subject: RE: Show validation error messages next to the corresponding
inpu t fields
Thanks Vishu,
But
<[EMAIL PROTECTED]cc:
stam.com> Subject: RE: Show validation error
m
e, so it can go with rest
of your formatting.
-Original Message-
From: Kevin Wang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 6:23 PM
To: Struts Users Mailing List
Subject: Show validation error messages next to the corresponding input
fields
Does anybody know how to d
Does anybody know how to do this? I know I can get ActionErrors which is an
array of messages.. but is there a way I can put the messages in place with
their input fields?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
--- "Yu, Yanhui" <[EMAIL PROTECTED]> wrote:
> This is posted a couple of times, hope someone can
> help me out:
>
>
> > What I need to do is this: I would like to
> display an error message to
> the
> > user in a little more customized way, such as, if
> some special characters
> > are not all
12 matches
Mail list logo