Details
Description
We've implemented our own Message Renderer and Messages Renderer, so that the output will always be wrapped in a div, to better work with our dom differencing. As part of the MyFaces 2 integration in ICE-5868 we switched from using the faces-context.xml to override the renderers to doing it programmatically, since our renderers override the Mojarra ones, and we can't use them with MyFaces. This has the side-effect of thwarting applications from overriding the renderers themselves.
The quickest fix would be to change the renderkit code that checks to see if we should override the renderers to do an exact class name check for the Mojarra renderers, so that we don't stomp on 3rd party renderers.
The quickest fix would be to change the renderkit code that checks to see if we should override the renderers to do an exact class name check for the Mojarra renderers, so that we don't stomp on 3rd party renderers.
Activity
Mark Collette
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee Priority | P1 | |
Assignee | Yip Ng [ yip.ng ] |
Arran Mccullough
made changes -
Salesforce Case | [5007000000EWiLh] |
yip.ng
made changes -
Attachment | CustomMessagesRenderer.java [ 12912 ] |
yip.ng
made changes -
Attachment | screenshot-01.png [ 12913 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24081 | Wed Mar 02 16:05:00 MST 2011 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/renderkit/DOMRenderKit.java
|
yip.ng
made changes -
Attachment | screenshot-02.png [ 12914 ] |
yip.ng
made changes -
Attachment | screenshot-03.png [ 12920 ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24085 | Thu Mar 03 11:39:36 MST 2011 | arran.mccullough | |
Files Changed | ||||
MODIFY
/icefaces2/scratchpads/patches/SF9769/icefaces/core/src/main/java/org/icefaces/impl/renderkit/DOMRenderKit.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24086 | Thu Mar 03 11:41:27 MST 2011 | arran.mccullough | |
Files Changed | ||||
MODIFY
/icefaces2/scratchpads/patches/SF9769/icefaces/core/src/main/java/org/icefaces/impl/renderkit/DOMRenderKit.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24087 | Thu Mar 03 11:44:26 MST 2011 | arran.mccullough | |
Files Changed | ||||
MODIFY
/icefaces2/scratchpads/patches/SF9769/icefaces/core/src/main/java/org/icefaces/impl/renderkit/DOMRenderKit.java
|
Ken Fyten
made changes -
Component/s | Framework [ 10013 ] | |
Component/s | Components [ 10012 ] |
Ken Fyten
made changes -
Assignee Priority | P1 |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Order of registering renderers is: @FacesRenderer(), JSF, faces-config.xml. See screenshot 1.
Therefore, declaration in @FacesRenderer() will be replaced by JSF declaration if renderer type id is the same. Therefore, must use faces-config.xml.
Or, we can make (component family id + renderer type id) unique. However, because they are set in the component class (javax.faces.component.html.HtmlMessages), this is impossible without overriding the component class.