>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 08, 2004 10:08 PM
Subject: Re: Display message beside input field using struts validator
> At 3:49 PM -0600 11/8/04, Struts User wrote:
> >Hello,
> >
> >Currently, I am using struts
Thanks.
Erik
Joe Germuska wrote:
At 5:10 PM -0500 11/8/04, Erik Weber wrote:
Here is a way to do it that works with 1.1:
Username:
Omitting the "name" attribute in this would have the same effect as
including it - it's the default. It's suggested that if you are
storing messages in your ac
At 5:10 PM -0500 11/8/04, Erik Weber wrote:
Here is a way to do it that works with 1.1:
Username:
Omitting the "name" attribute in this would have the same effect as
including it - it's the default. It's suggested that if you are
storing messages in your actions using "saveErrors" or "saveMe
Thanks, Joe and Erik.
I got it to work using the following code:
Struts validator returns error object instead of message object.
Thanks!
Lee
On Mon, 8 Nov 2004 16:08:26 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 3:49 PM -0600 11/8/04, Struts User wrote:
>
>
> >Hello,
> >
> >
At 3:49 PM -0600 11/8/04, Struts User wrote:
Hello,
Currently, I am using struts validator to validate the fields in my
ActionForm.
Before I updated to struts 1.2.4, I could add an error this way - errors.add(
"username", new ActionError("error.username.required"));
If the validation failed, the
Here is a way to do it that works with 1.1:
Username:
Not sure if that tag has changed for 1.2.
Erik
Struts User wrote:
Hello,
Currently, I am using struts validator to validate the fields in my ActionForm.
Before I updated to struts 1.2.4, I could add an error this way - errors.add(
"userna
Hello,
Currently, I am using struts validator to validate the fields in my ActionForm.
Before I updated to struts 1.2.4, I could add an error this way - errors.add(
"username", new ActionError("error.username.required"));
If the validation failed, the error message for username will be
displaye
7 matches
Mail list logo