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 tags.
On Sun, Aug 10, 2008 at 4:57 PM, Farouk Alhassan <[EMAIL PROTECTED]> wrote:
>
> 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???
>
> ------------------------------
> Get fish-slapping on Messenger! Play
> Now<http://clk.atdmt.com/UKM/go/101719805/direct/01/>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users