ICEfaces
  1. ICEfaces
  2. ICE-2037

iceTree: imageDir doesn't work when jsp page references styles from higher directory level

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      Referencing the image directory from within the ice:tree component
      (<ice:tree id="tree" imageDir="./xmlhttp/css/xp/css-images/">)
      works fine as long as the referencing page is in the doc root directory.
      When the image directory is referenced from a higher level from within
      the directory structure, i.e. form /pages/tree.xhtml then a reference
      to './../xmlhttp/css/xp/css-images' only shows a part of the tree's images
      correctly. Some of the references are still pointing to './xmlhttp/css/xp/css-images'.

      This is probably a problem within the TreeRenderer since the styles are
      directly referenced from within it.

      1. tree.jspx
        3 kB
        yip.ng
      1. screenshot-1.jpg
        129 kB
      2. screenshot-2.jpg
        166 kB
      3. screenshot-3.jpg
        177 kB

        Activity

        Michael Thiem created issue -
        Michael Thiem made changes -
        Field Original Value New Value
        Attachment screenshot-1.jpg [ 10635 ]
        Michael Thiem made changes -
        Attachment screenshot-2.jpg [ 10636 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Assignee Yip Ng [ yip.ng ]
        Ken Fyten made changes -
        Summary iceTree: imgaeDir doesn't work when jsp page references styles from higher directory level iceTree: imageDir doesn't work when jsp page references styles from higher directory level
        yip.ng made changes -
        Attachment screenshot-3.jpg [ 10671 ]
        yip.ng made changes -
        Attachment tree.jspx [ 10672 ]
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            yip.ng
            Reporter:
            Michael Thiem
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: