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
Philip Breau
created issue -
Philip Breau
made changes -
Ken Fyten
made changes -
Priority | Major [ 3 ] | Minor [ 4 ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |