JSF2 + IceFaces 2 - Retrieve UIComponent from ViewRoot
问题 I've got hard time resolving the following. My problem is quite simple : I would like to highlight in red the forms fields that triggered validation errors. The error messages are placed correctly in the FacesContext using a context.addMessage(...) line. I'd like my system to be generic. All form fields having a message attached are automatically highlighted. I've found on this site a link to this excellent article : http://www.jroller.com/mert/entry/how_to_find_a_uicomponent With it, I did