i have a really simple problem and didn't find a working solution - it drives me mad!
If a ValidationException/ConversionException is trhown by my validators/converters the regarding <input> -element in the page must be changed e.g. the background-color is set to red or style-class "invalid" ist set.
How to accomplish this? (Solution must work for InputText-Elements in a table)
Normally I pair the input control with a "message for=" tag, and that tag has options for different styles depending on error severity. I'm sure there's a way to highlight the input control itself, but I can't think of an easy one offhand.
The main problem with simply highlighting a bad input is that it doesn't explain itself like a message element would.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: May 06, 2010
thanks for your reply.
I already have message-elements for the inputs. (And it works)
Nevertheless the users/ my costumers want this feature...