struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <j...@wendysmoak.com>
Subject Re: How to display an error image next to an invalid form field?
Date Sat, 22 Oct 2005 02:13:30 GMT
From: "Mon Cab" <futon33@yahoo.com>

> 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

HTH,
-- 
Wendy



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message