Hi Thanks for an answer. I also found this solution the best, but i thought that maybe struts provides some kind of support for this kind of problem. I know that highlighting labels is not common practice, but i thought that someone found a gold solution. Anyway thanks for help. I am completly newbie to creating tags. Can you give me some advices how to start.
2006/5/8, Niall Pemberton <[EMAIL PROTECTED]>:
On 5/4/06, Jakub Milkiewicz <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]