ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-64

<ice-cc:treeTable /> works only if the .xhtml page is in the root folder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2.GA
    • Fix Version/s: 1.8.2.GA_P01
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      Tomcat 6, Java 1.6, ICEfaces 1.8.2EE
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      put the page in the root folder of the webapp
      (this is very ugly since you may need to rename pages (a lot are named index.xhtml) and links to them)
      Show
      put the page in the root folder of the webapp (this is very ugly since you may need to rename pages (a lot are named index.xhtml) and links to them)

      Description

      If I put the <ice-cc:treeTable> tag into a page that is not in the root folder of the webapp the tree component has missing images. For ex. put the page inside the pages subdirectory.

      It seems the images have a relative path:

      icefaces-composite-comps-1.8.2EE.jar:/META-INF/facelet/treetable/treeTable.xhtml contains:
      <img src="xmlhttp/css/rime/css-images/tree_line_vertical.gif" alt=""/>

      also the command button in that file:
      <ice:commandButton disabled="#{row.leaf}"
                                         image="#{row.icon}"
                                         action="#{row.toggleRow}" alt=""
                                         style="z-index: 2000;padding-left: 3px;background:transparent;"/>

      references to relative images.

        Issue Links

          Activity

          There are no subversion log entries for this issue yet.

            People

            • Assignee:
              Brad Kroeger
              Reporter:
              Werner Mueller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: