Details
-
Type: Bug
-
Status: Closed
-
Priority: 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:
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.
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
- duplicates
-
IPCK-58 <ice-cc:dragAndDropTreeTable> tag incorrectly references xmlhttp images using a relative path
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Duplicate issue.
IPCK-58, committed December 16, 2009:Change references to ICEfaces resources in xmlhttp directory to be preceded with ./ rather than / or nothing. This is an ICEfaces best practice.