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
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
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