Details
Description
The MessageRenderer, responsible for rendering the h:message component, does not render an ID around the dynamically generated text. It's also not clear if any containing element is rendered even if the message is empty (the containing element is required by ICEfaces for Ajax update).
Activity
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Description |
The MessagesRenderer, responsible for rendering the h:messages component, renders different nodes depending on whether there are messages or not. When there are no messages to render, it renders: <div id="messages"></div> However, if there are messages to render, it replaces the div with a ul (or a table depending on how it's configured): <ul id="messages"><li> Message added via actionListener: form:add </li></ul> If the h:message component is a child of the body, the DOM diff algorithm will determine that the closest parent is html and send a window.location.reload() command back to the client. |
The MessageRenderer, responsible for rendering the h:message component, does not render an ID around the dynamically generated text. It's also not clear if any containing element is rendered even if the message is empty (the containing element is required by ICEfaces for Ajax update). |
Workaround Description |
Enclose <h:message> in a < h:panelGroup>. |
|
Workaround Exists | [Yes] | |
Salesforce Case | [] | |
Fix Version/s | 2.0.1 [ 10255 ] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
Fix Version/s | 2.0.0 [ 10230 ] | |
Assignee | Judy Guglielmin [ judy.guglielmin ] | Deryk Sinotte [ deryk.sinotte ] |
Assignee | Deryk Sinotte [ deryk.sinotte ] | Judy Guglielmin [ judy.guglielmin ] |
Salesforce Case | [] | |
Assignee Priority | P2 | |
Assignee | Judy Guglielmin [ judy.guglielmin ] | Yip Ng [ yip.ng ] |
Attachment | screenshot-01.png [ 12865 ] |
Salesforce Case | [] | |
Assignee | Yip Ng [ yip.ng ] | Deryk Sinotte [ deryk.sinotte ] |
Assignee | Deryk Sinotte [ deryk.sinotte ] | Yip Ng [ yip.ng ] |
Attachment | screenshot-01.png [ 12877 ] |
Attachment | screenshot-01.png [ 12877 ] |
Attachment | screenshot-02.png [ 12878 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23991 | Tue Feb 22 10:54:38 MST 2011 | yip.ng | |
Files Changed | ||||
![]() ![]() |
Attachment | screenshot-03.png [ 12887 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Assignee Priority | P2 |
Status | Resolved [ 5 ] | Closed [ 6 ] |
This should likely be done by the component team. Assigning to Deryk for assignment based on current release schedules.