Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ed Burns
Reporter: domdorn
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Add new FacesMessage Severity "SUCCESS"

Created: 14/Oct/10 07:30 AM   Updated: 14/Oct/10 08:17 AM   Resolved: 14/Oct/10 08:17 AM
Component/s: Facelets/VDL
Affects Version/s: 2.0
Fix Version/s: 2.2

Time Tracking:
Not Specified


Operating System: All
Platform: All

Issuezilla Id: 895
Participants: domdorn and Ed Burns

 Description  « Hide

FacesMessages do have a specific severity.
However, those messages are currently only designed for
failures or general notices. There's currently no way
to specify a severity for "SUCCESS" events, but programmers are facing that
problem every day and miss-use INFO or other severities for such a purpose.

I propose adding a new severity "SUCCESS" that will be accessible
Also adding required attributes to h:messages and h:message:
successClass, successStyle.

Ed Burns added a comment - 14/Oct/10 08:17 AM

I like this idea. If you could submit a patch, that would make it easier to get
it into 2.2