Details
-
Type:
Bug
-
Status: Closed
-
Priority:
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.
(<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.
Screeshot of testing for the fix. Notice that the web page is from a second level directory, not the top level directory, and that the folder and document icons are now showing.