Re: custom error message handling

2004-07-02 Thread Niall Pemberton
Probably a bit cumbersome but you could use the MessagesPresetnTag

logic:messagesPresent property=myProperty**/logic:messagesPresent

- Original Message - 
From: Nathan Maves [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



custom error message handling

2004-06-25 Thread Nathan Maves
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]