If you are using one of the more recent nightly builds
there is a logic tag you could use.

<logic:messagesPresent property="username">
   // insert image here
</logic:messagesPresent>
<html:text property="username" size="20"
maxlength="100"/>

David


--- Angela Saval <[EMAIL PROTECTED]> wrote:
> I would like to be able to place an icon next to
> each field in a form that
> did not validate correctly.  Is this integrated into
> the html input fields
> tags some how?  If so, I am not seeing this.  For
> example, I would like
> something like
> 
> <html:text property="username" size="20"
> maxlength="100"
> erroricon="/images/error.jpg"/>
> 
> The only way that I see of doing something like this
> now is to extend each
> of the html tag definitions to include an error icon
> attribute since I see
> no way to extend a tag definition.
> 
> Any insight on how others have solved this problem
> would be appreciated.
> 
> Angela
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

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

Reply via email to