Re: [Stripes-users] how to determine if there were errors on a page

2008-08-11 Thread farouk alhassan
thank u --- On Sun, 8/10/08, Levi Hoogenberg [EMAIL PROTECTED] wrote: From: Levi Hoogenberg [EMAIL PROTECTED] Subject: Re: [Stripes-users] how to determine if there were errors on a page To: Stripes Users List stripes-users@lists.sourceforge.net Date: Sunday, August 10, 2008, 8:26 AM The

[Stripes-users] how to determine if there were errors on a page

2008-08-10 Thread Farouk Alhassan
within my jsp I would like to style the error messages on a condition that there was an error. Is there a to make my div(error container) appear only if there are validation errors??? _ Win New York holidays with Kellogg’s Live

Re: [Stripes-users] how to determine if there were errors on a page

2008-08-10 Thread Levi Hoogenberg
The validation errors are stored in the action bean context, so a simple c:if test=${not action.context.validationErrors.empty !-- display errors -- /c:if should do the trick. Alternatively, you could use the stripes:errors tag with nested errors-header, errors-footer and individual-error