struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: highligt errors
Date Mon, 08 May 2006 12:13:47 GMT
On 5/4/06, Jakub Milkiewicz <jmilkiewicz@gmail.com> wrote:
> Hi
> I would like to highlight - change style of, labels associated with an html
> input elements, i.e html:text or html:select.
> These tags have errorStyle attribute so changing style for a given input is
> not a big deal, but in addition i would like to change style of label which
> is situated next to invalid property.
> I know that one of solution will be to make a <span> element for each label
> and using <logic:messagesPresent property="..."> i can change manually style
> of the span.
> Do you have better idea??

Write your own custom tag is the only one I can think of.

Niall

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


Mime
View raw message