rich:messages overrides the custom style and uses the default in JBoss WFK 2.
Environment
- Red Hat JBoss Web Frameworks Kit (WFK) 2.7
Issue
rich:messages component overrides the custom style and uses the default in JBoss WFK 2.
Resolution
The workaround is to use h:messages instead of rich:messages component.
Root Cause
See RF-14054 for details.
Diagnostic Steps
The error messages are still displayed in red even if you set the following style:
<rich:messages style="color:black"/>
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
