Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Invalid
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:win xp
Description
Index: D:/Documents and Settings/pbreau/workspace/ICEfaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java
===================================================================
--- D:/Documents and Settings/pbreau/workspace/ICEfaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java (revision 14539)
+++ D:/Documents and Settings/pbreau/workspace/ICEfaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java (working copy)
@@ -34,6 +34,7 @@
package com.icesoft.faces.renderkit.dom_html_basic;
import com.icesoft.faces.context.DOMContext;
+import com.icesoft.faces.util.CoreUtils;
import com.icesoft.faces.util.Debug;
import org.w3c.dom.Element;
@@ -413,7 +414,7 @@
protected Element scrollBarSpacer(DOMContext domContext, FacesContext facesContext) {
Element spacer = domContext.createElement("th");
//spacer.setAttribute("style", "width:20px;");
- String url = getResourceURL(facesContext, "/xmlhttp/css/xp/css-images/selection_spacer.gif");
+ String url = CoreUtils.resolveResourceURL(facesContext, "/xmlhttp/css/xp/css-images/selection_spacer.gif");
Element spacerImg = domContext.createElement(HTML.IMG_ELEM);
spacerImg.setAttribute(HTML.SRC_ATTR, url);
spacerImg.setAttribute(HTML.BORDER_ATTR,"0");
===================================================================
--- D:/Documents and Settings/pbreau/workspace/ICEfaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java (revision 14539)
+++ D:/Documents and Settings/pbreau/workspace/ICEfaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java (working copy)
@@ -34,6 +34,7 @@
package com.icesoft.faces.renderkit.dom_html_basic;
import com.icesoft.faces.context.DOMContext;
+import com.icesoft.faces.util.CoreUtils;
import com.icesoft.faces.util.Debug;
import org.w3c.dom.Element;
@@ -413,7 +414,7 @@
protected Element scrollBarSpacer(DOMContext domContext, FacesContext facesContext) {
Element spacer = domContext.createElement("th");
//spacer.setAttribute("style", "width:20px;");
- String url = getResourceURL(facesContext, "/xmlhttp/css/xp/css-images/selection_spacer.gif");
+ String url = CoreUtils.resolveResourceURL(facesContext, "/xmlhttp/css/xp/css-images/selection_spacer.gif");
Element spacerImg = domContext.createElement(HTML.IMG_ELEM);
spacerImg.setAttribute(HTML.SRC_ATTR, url);
spacerImg.setAttribute(HTML.BORDER_ATTR,"0");
Issue Links
- depends on
-
ICE-1826 CoreUtils.resolveResourceURL() does not properly resolve resources from the context root
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup.
Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf
If the issue persists with the current ICEfaces release, please create a new JIRA for it.