The docs for the property attribute of this tag state:
Name of the property for which error messages should be displayed.
The property of what? The bean specified by name?
Carl
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Property of the FormBean that is used by jsp tags to build HTML input
fileds.
if your JSP uses :
html:form ...
...
html:errors property=birthdate/
html:text property=birthdate /
...
/html:form
if validation failed on birthdate property, error will be displayed just
before this text field
Nico
?
- Original Message -
From: Schmidt, Carl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 12:07 AM
Subject: html:error tag
The docs for the property attribute of this tag state:
Name of the property for which error messages should be displayed.
The property of what? The bean
The name of the property in Application.Resources.
-Original Message-
From: Schmidt, Carl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 6:07 PM
The docs for the property attribute of this tag state:
Name of the property for which error messages should be displayed.
The
You need to initialize some values in your application resource properties
file. Set these two values:
errors.header=
errors.footer=
If you want all errors to be red, do this:
errors.header=font color=red
errors.footer=/font
Got it?
- M@
On Wed, 13 Mar 2002, subhendukumar mohanty wrote:
mohanty
Cc: [EMAIL PROTECTED]
Subject: Re: Problem in HTML:ERROR tag
You need to initialize some values in your application resource properties
file. Set these two values:
errors.header=
errors.footer=
If you want all errors to be red, do this:
errors.header=font color=red
Subject: Problem in HTML:ERROR tag
Hi
I am setting the action error in my action class. Then when the error
displays in the screen it appends null in front and end of the message.
For example if the error message is Error occurred, it shows as null
Error Occurred null. I am using
,errors.footer=efgh two lines in your
resource file.
it will be OK.
hope helps
Laker
- Original Message -
From: subhendukumar mohanty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 10:07 AM
Subject: Problem in HTML:ERROR tag
Hi
I am setting the action
resource file.
it will be OK.
hope helps
Laker
- Original Message -
From: subhendukumar mohanty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 10:07 AM
Subject: Problem in HTML:ERROR tag
Hi
I am setting the action error
It's a websphere issue. Do a search on the mail archive for websphere and
null.
-Original Message-
From: Jay sissom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 8:30 AM
To: Struts Users Mailing List
Subject: Re: Problem in HTML:ERROR tag
Struts shouldn't print NULL before
:30 AM
To: Struts Users Mailing List
Subject: Re: Problem in HTML:ERROR tag
Struts shouldn't print NULL before and after your errors if you don't put
errors.header and errors.footer in your Application Resources file,
correct?
We all understand how it is supposed to work. We don't
Oops. Jumped to a conclusion there. I thought you were having the issue only
with Websphere.
-Original Message-
From: Jay sissom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 9:12 AM
To: Struts Users Mailing List
Subject: RE: Problem in HTML:ERROR tag
And a Tomcat issue
-
From: Jay sissom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 8:30 AM
To: Struts Users Mailing List
Subject: Re: Problem in HTML:ERROR tag
Struts shouldn't print NULL before and after your errors if you don't put
errors.header and errors.footer in your Application Resources
PROTECTED]]
Sent: Thursday, March 14, 2002 8:30 AM
To: Struts Users Mailing List
Subject: Re: Problem in HTML:ERROR tag
Struts shouldn't print NULL before and after your
errors if you don't put
errors.header and errors.footer in your
Application Resources file,
correct?
We all
by unordered list of the errors.
Hope helps,
Yanhui
-Original Message-
From: Jay sissom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 9:19 PM
To: Struts Users Mailing List
Subject: Re: Problem in HTML:ERROR tag
If we do that, the errors would bring like this:
abcderror,error
in unordered list in black color with
bullets
Yanhui
-Original Message-
From: Matt Barnicle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 7:13 PM
To: subhendukumar mohanty
Cc: [EMAIL PROTECTED]
Subject: Re: Problem in HTML:ERROR tag
You need to initialize some values
Hi
I am setting the action error in my action class. Then when the error displays in the
screen it appends null in front and end of the message. For example if the error
message is Error occurred, it shows as null Error Occurred null. I am using struts
with visualage 4.0.
I am using struts
in HTML:ERROR tag
Hi
I am setting the action error in my action class. Then when the error
displays in the screen it appends null in front and end of the message.
For example if the error message is Error occurred, it shows as null
Error Occurred null. I am using struts with visualage 4.0.
I am
8:13 PM
To: subhendukumar mohanty
Cc: [EMAIL PROTECTED]
Subject: Re: Problem in HTML:ERROR tag
You need to initialize some values in your application resource properties
file. Set these two values:
errors.header=
errors.footer=
If you want all errors to be red, do this:
errors.header=font
,errors.footer=efgh two lines in your
resource file.
it will be OK.
hope helps
Laker
- Original Message -
From: subhendukumar mohanty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 10:07 AM
Subject: Problem in HTML:ERROR tag
Hi
I am setting the action error
20 matches
Mail list logo