ICEfaces
  1. ICEfaces
  2. ICE-1914

selection_spacer.gif not properly resolved for Scrollable table when JSF page in subdirectory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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");

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: