Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA_P01
-
Fix Version/s: 1.8.2-EE-GA_P02, 2.0.0
-
Component/s: ICE-Components, Sample Apps
-
Labels:None
-
Environment:ICEfaces portal portlet
Description
In the portlet version of component showase, the static panel tabset dumps the following to the server log:
19:07:32,883 WARN [PortalImpl:2948] Current URL /web/guest/images/menu/recent.gif generates exception: null
This is caused by the icon attribute of the panelTab component. The markup looks like this:
<ice:panelTab rendered="#{staticTabbedPaneExample.tabbedPane3Visible}"
label="#{msgs['page.panelTabSet.tab3']}"
icon="images/menu/recent.gif"
iconAlignRight="true"
title="#{msgs['page.panelTabSet.static.accessibility.tabThreeTitle']}'">
The resolution of the final URL for the recent.gif image is not valid in the portlet context.
19:07:32,883 WARN [PortalImpl:2948] Current URL /web/guest/images/menu/recent.gif generates exception: null
This is caused by the icon attribute of the panelTab component. The markup looks like this:
<ice:panelTab rendered="#{staticTabbedPaneExample.tabbedPane3Visible}"
label="#{msgs['page.panelTabSet.tab3']}"
icon="images/menu/recent.gif"
iconAlignRight="true"
title="#{msgs['page.panelTabSet.static.accessibility.tabThreeTitle']}'">
The resolution of the final URL for the recent.gif image is not valid in the portlet context.
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23180 | Mon Nov 22 16:24:56 MST 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/examples/panel/panelTabSet-static.jspx
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTab.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23181 | Mon Nov 22 17:09:21 MST 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/samples/component-showcase/web/WEB-INF/includes/examples/panel/panelTabSet-static.xhtml
MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/paneltabset/PanelTab.java |
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8.2-EE-GA_P02 [ 10226 ] | |
Assignee Priority | P2 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 2.0.0 [ 10230 ] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
Checked in changes to both the ICEfaces 1.8 trunk and the ICEfaces 2 compat section.
For the panetTabSet-static.jspx, panetTabSet-static.xhtml file, I set the path of the icon to absolute. This allows the path to be resolved to include the web-app context.
For the PanelTab, I changed the the getIcon() call so that it runs through the CoreUtils.resolveResourceURL to ensure the resource is properly encoded for the environment that it's running in.