Improve outputLabel component to have a different CSS class in case of an error -------------------------------------------------------------------------------
Key: TOMAHAWK-826 URL: http://issues.apache.org/jira/browse/TOMAHAWK-826 Project: MyFaces Tomahawk Issue Type: Improvement Reporter: Alex Savitsky Priority: Minor Currently, the only visual cue for validation errors is to display validation messages using <t:messages />. However, quite often there's a different requirement for error flagging, namely to identify the field labels (e.g., make them red) if the field has an error. This behavior cannot be achieved using available controls, and therefore I propose to enhance an existing Label control with this functionality. All it would have to do is to set a specified CSS class (and/or CSS style) on a label component, if the field referenced with the "for" attribute has an error. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira