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

          Hide
          Ken Fyten added a comment -

          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.

          Show
          Ken Fyten added a comment - 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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: