Details
Description
FacesMessagesPhaseListener should only save if there's actually something to save, that is only if the globals and/or the components collection are not empty.
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25060 | Thu Jul 21 11:58:53 MDT 2011 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25061 | Thu Jul 21 12:00:00 MDT 2011 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() |
Field | Original Value | New Value |
---|---|---|
Assignee | Jack van Ooststroom [ jack.van.ooststroom ] |
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10241 ] | |
Fix Version/s | EE-2.1.0 [ 10262 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 2.1-Beta [ 10291 ] | |
Fix Version/s | EE-2.1.0 [ 10262 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Added two simple checks:
if (!globals.isEmpty())
{ facesContext.getViewRoot().getAttributes().put( SAVED_GLOBAL_FACES_MESSAGES_KEY, globals); }if (!components.isEmpty())
{ facesContext.getViewRoot().getAttributes().put( SAVED_COMPONENT_FACES_MESSAGES_KEY, components); }Marking this one as FIXED.