How would you write what? The JSP? Just add errorStyleClass="css-class-name" or whatever to each of your form fields. Or do you mean how would you write the CSS? Something like css-class-name { background: url('/path/to/img') left center no-repeat; } in your style sheet should get you started.

L.

Mon Cab wrote:
Thanks Laurie

How would you write this.  The usage doesnt seem to be
clear from the tag API.


--- Laurie Harper <[EMAIL PROTECTED]> wrote:


Wendy Smoak wrote:

From: "Mon Cab" <[EMAIL PROTECTED]>

I know <html:errors property="username"> will

give me

the error message for username, but I don't care

about

that.  I just want to display the error arrow.


Wrap the arrow in <logic:messagesPresent> using

the same 'property'
attribute.



http://struts.apache.org/struts-taglib/tagreference-struts-logic.html#messagesPresent


Or use the errorStyle... attributes and insert the
image with CSS (note, I haven't tried using the errorStyle{,Id,Class} attributes yet, but they should be perfect for this).

L.




---------------------------------------------------------------------

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






                
__________________________________ Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


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

Reply via email to