my dog learned polymorphism*
The moose likes Struts and the fly likes Highlight A text field description when error happens. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Highlight A text field description when error happens." Watch "Highlight A text field description when error happens." New topic
Author

Highlight A text field description when error happens.

victor chiong
Ranch Hand

Joined: Apr 04, 2012
Posts: 73
Hi Guys,

I am stuck.... I need to change the error of the field discription when error happens.. I have researched but I could not find anything that I can understand..

Nearest solution to my problem --> this is what i meant but i dont know how to add error class to this field.

Any advice on this? Thank you..
victor chiong
Ranch Hand

Joined: Apr 04, 2012
Posts: 73
I solved it guys,

You can use <s:if>

 
GeeCON Prague 2014
 
subject: Highlight A text field description when error happens.