You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Niall Pemberton <ni...@blueyonder.co.uk> on 2004/07/02 13:56:52 UTC
Re: custom error message handling
Probably a bit cumbersome but you could use the MessagesPresetnTag
<logic:messagesPresent property="myProperty">**</logic:messagesPresent>
----- Original Message -----
From: "Nathan Maves" <Na...@Sun.COM>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Friday, June 25, 2004 5:39 PM
Subject: custom error message handling
> Currently I use the validator with my forms.
>
> I am looking for a way to test if there was an error for a specified
> field.
>
> I still want the list of errors produced by <html:errors/> at the top
> but I would like to place something like "**" next to any field that
> had errors.
>
> Can this be done with either the struts tags or JSTL?
>
> Nathan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org