Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES_SPEC_PUBLIC-895
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ed Burns
Reporter: domdorn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaserverfaces-spec-public

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

Environment:

Operating System: All
Platform: All


Issuezilla Id: 895
Tags:
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
through
FacesMessage.SEVERITY_SUCCESS.
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