I'm writing my first JSF application and looking for the equivalent to
"errorStyleClass" feature I used in Struts.
In Struts you can specify an "errorStyleClass" attribute on an
<html:text> input field tag. If a validation error occurs on that field
it will
redisplay the field with the supplied errorStyleClass.
<html:text errorStyleClass="errorStyle" ....>
The JSF <h:inputText > tag doesn't support this so how do you do this
in JSF?
I see something similar in the <h:message errorClass="errorStyle"...>
tag
but it seems to apply to the message not the input field.
Is there another component I can use? Or can I embed the field in in
another tag?
---
Greg Lindholm