RFE: Ability for h:messages to display a single custom message whenever the component has received any faces message.
- Dominant language
- Java
- Stars
- 127
- Forks
- 59
- Avg merge
- 23h
- Merged PRs (30d)
- 7
Description
In OmniFaces you can use h:messages to display a single message at the top of the screen such as "There are validation errors. Please fix them.", and then display component specific messages beside the components. They have added a "for" attribute to h:messages that points to the form component, and a "message" for the message to display. I will attach a screenshot.
[http://showcase.omnifaces.org/components/messages](http://showcase.omnifaces.org/components/messages)
I've had customers ask me to do this very thing in our production applications.
Contributor guide
Research direction
Start by reviewing the existing h:messages behavior and the linked OmniFaces messages example. Determine how a single custom message should be triggered when any Faces message exists, while component-specific messages remain available. Done means the proposed behavior is implemented and covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100