You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Thomas Garben <tg...@dtcc.com> on 2006/01/20 15:41:10 UTC
Validation Asterisk
Hello
Does anyone know how to easily get an Asterisk next to a field that fails
Struts validation?
I know of the LabelTag by E. Hatcher.
Is this the optimal way to achieve this functionality, or are there better
solutions?
Tom
Re: Validation Asterisk
Posted by Laurie Harper <la...@holoweb.net>.
<html:messages property="propname"/>
http://struts.apache.org/struts-taglib/tlddoc/html/messages.html
L.
Thomas Garben wrote:
> Niall,
>
> Thanks for the hint.
> Did you mean <logic:messagesPresent... ?
> If so, do you know how I would get a correct field specific message?
>
> Tom
>
>
>
>
> "Niall Pemberton" <ni...@blueyonder.co.uk>
> 01/20/2006 10:58 AM
> Please respond to
> "Struts Users Mailing List" <us...@struts.apache.org>
>
>
> To
> "Struts Users Mailing List" <us...@struts.apache.org>
> cc
>
> Subject
> Re: Validation Asterisk
>
>
>
>
>
>
> <html:messagesPresent property="foo">*</html:messagesPresent>
>
> Niall
>
> ----- Original Message -----
> From: "Thomas Garben" <tg...@dtcc.com>
> To: <us...@struts.apache.org>
> Sent: Friday, January 20, 2006 2:41 PM
> Subject: Validation Asterisk
>
>
>> Hello
>> Does anyone know how to easily get an Asterisk next to a field that
> fails
>> Struts validation?
>> I know of the LabelTag by E. Hatcher.
>> Is this the optimal way to achieve this functionality, or are there
> better
>> solutions?
>> Tom
>
>
>
> ---------------------------------------------------------------------
> 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
Re: Validation Asterisk
Posted by Thomas Garben <tg...@dtcc.com>.
Niall,
Thanks for the hint.
Did you mean <logic:messagesPresent... ?
If so, do you know how I would get a correct field specific message?
Tom
"Niall Pemberton" <ni...@blueyonder.co.uk>
01/20/2006 10:58 AM
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
"Struts Users Mailing List" <us...@struts.apache.org>
cc
Subject
Re: Validation Asterisk
<html:messagesPresent property="foo">*</html:messagesPresent>
Niall
----- Original Message -----
From: "Thomas Garben" <tg...@dtcc.com>
To: <us...@struts.apache.org>
Sent: Friday, January 20, 2006 2:41 PM
Subject: Validation Asterisk
> Hello
> Does anyone know how to easily get an Asterisk next to a field that
fails
> Struts validation?
> I know of the LabelTag by E. Hatcher.
> Is this the optimal way to achieve this functionality, or are there
better
> solutions?
> Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Validation Asterisk
Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
<html:messagesPresent property="foo">*</html:messagesPresent>
Niall
----- Original Message -----
From: "Thomas Garben" <tg...@dtcc.com>
To: <us...@struts.apache.org>
Sent: Friday, January 20, 2006 2:41 PM
Subject: Validation Asterisk
> Hello
> Does anyone know how to easily get an Asterisk next to a field that fails
> Struts validation?
> I know of the LabelTag by E. Hatcher.
> Is this the optimal way to achieve this functionality, or are there better
> solutions?
> Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org