Hello,
I have a situation with a form containing indexed fields (i.e.
item[0].number, item[1].number, etc) and for one specific custom
validation I want to highlight all the indexed error fields in red yet
only show the corresponding error message once in the stripes:errors
tag. Right now
Hi Ed,
Assuming you're using Stripes 1.5, adding an empty error to a field
highlights the field but does not output any error message in the
stripes:errors / tag.
errors.add(indexedFieldName, new SimpleError());
Then you can add another error with a dummy field name.
errors.add(dummy, new
On 28-02-2009 at 01:16, Iwao AVE! wrote:
Assuming you're using Stripes 1.5, adding an empty error to a field
highlights the field but does not output any error message in the
stripes:errors / tag.
errors.add(indexedFieldName, new SimpleError());
Then you can add another error with a dummy
It seems to be more efficient.
Thank you for pointing it out.
Regards,
Iwao
on 09.2.28 1:38 AM Oscar Westra van Holthe - Kind said the following:
On 28-02-2009 at 01:16, Iwao AVE! wrote:
Assuming you're using Stripes 1.5, adding an empty error to a field
highlights the field but does not
That did the trick. Thank you very much Iwao!
Ed
-Original Message-
From: Iwao AVE! [mailto:haraw...@gmail.com]
Sent: Friday, February 27, 2009 10:17 AM
To: Stripes Users List
Subject: Re: [Stripes-users] Multiple Field Errors, One Error Message
Hi Ed,
Assuming you're using Stripes