Padma,
Can you be more specific? Do you need to display an error corresponding
a label to the field, or you need to display a field number ? I think,
struts-example shows how to display a field label together with its error.
And all errors are displayed on the top of the page. Do you need something
different?
Maya
Padma Ginnaram wrote:
I
need to display an indicator for the fields that result in error and display
all the errors on the top of the page. Using the error tag I can display
all the errors at one location, but I am not able to figure out how to
display the indicator. Any suggestions?
-----Original
Message-----
From: Deadman, Hal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13,
2001 5:07 PM
To: [EMAIL PROTECTED]
Subject: RE: Using ActionErrors
I
haven't tried it but I thought that you could specify the property attribute
on the errors tag and it would pull out the error that has that property.
When you add to the ActionErrors object the property is the first argument.
You should probably use the property name that cooresponds to the property
of the form field. -----Original
Message-----
From: David J Snowsill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13,
2001 4:31 PM
To: [EMAIL PROTECTED]
Subject: Using ActionErrors
Can
anybody point me in the right direction on how to associate a particular
error with a particular input field in a form Thanks David
J Snowsill
Principal Consultant
Calibre Financial Technology
[EMAIL PROTECTED]
Office: (61-2) 9212 0527
Mobile: 0403 091 468 *******************************************
This E-mail is intended only for the
use of the individual or entity named
above and may contain information
that is confidential and privileged.
If you are not the intended
recipient, you are hereby notified that any
dissemination, distribution or copying
of this E-mail is strictly prohibited.
If you have received this E-mail
in error, please notify us immediately
by return e-mail to the sender or
by telephoning one of our staff on (61-2)
9212 0527. Please then destroy
any copies of the original message that
are in your possession. Thank you.
*******************************************
|