Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 2 JSF 2
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
As of Mojarra 2.0.2, the h:messages component causes difficulty for ICEfaces due to the fact that the node type changes depending on the messages component status. It can change, but retain the same id, from a div to a ul or table which can cause our DOM diffing algorithm to get somewhat confused. We need to override this renderer to provide our own rendering logic and probably wrap in a suitable container as well.
There is an existing JIRA in the Mojarra bug tracker about this: https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1639
There is an existing JIRA in the Mojarra bug tracker about this: https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1639
Issue Links
Activity
| Field | Original Value | New Value |
|---|---|---|
| Salesforce Case | [] | |
| Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
| Assignee Priority | P1 |
| Link | This issue blocks ICE-5645 [ ICE-5645 ] |
| Salesforce Case | [] | |
| Affects | [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration] | |
| Assignee | Greg Dick [ greg.dick ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #21446 | Tue May 18 16:14:56 MDT 2010 | greg.dick | |
| Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/resources/META-INF/faces-config.xml
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #21447 | Tue May 18 16:17:04 MDT 2010 | greg.dick | |
| Files Changed | ||||
ADD
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/faces/renderkit
ADD
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/faces/renderkit/html_basic
ADD
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/faces
ADD
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/faces/renderkit/html_basic/MessagesRenderer.java
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Issue Type | Improvement [ 4 ] | New Feature [ 2 ] |
| Salesforce Case | [] |
| Issue Type | New Feature [ 2 ] | Improvement [ 4 ] |
| Salesforce Case | [] |
| Link | This issue blocks ICE-5602 [ ICE-5602 ] |
| Fix Version/s | 2.0.0 [ 10230 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P1 |

Added a div surrounding the messages whether the messages are rendered or not.