webtier@glassfish.java.net

conditional styleClass value

From: <webtier_at_javadesktop.org>
Date: Wed, 17 Feb 2010 07:38:53 PST

Dear Community

I'm using JSF 2.0 within Glassfish V3 and I have the following question.
Is there any possibility to set the styleClass of an h:inputText depending on if there is a validation error (a h:message) for this input field?

Many thanks in advance ... Raffaele
[Message sent by forum member 'rmerico' (merico_at_less.ch)]

http://forums.java.net/jive/thread.jspa?messageID=387187