Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:JDeveloper and OC4J
-
ICEsoft Forum Reference:
-
Workaround Exists:Yes
-
Workaround Description:Add a dummy action or actionListener to your ice:menuItems tag.
Description
A forum user has reported that when using ICEfaces 1.6.0 their menu images links look like:
http://MyServer:8988/MyApplicationRoot/xmlhttp/css/xp/css-images/menu_blank_icon.gif
and with ICEfaces 1.6.1 they look like:
http://MyServer:8988/xmlhttp/css/xp/css-images/menu_blank_icon.gif
which means that the application name "MyApplicationRoot" has been lost. Also, adding in action and actionListener attributes makes it resolve to the correct image paths. I suspect that the resource path resolution code is different between these two code paths.
http://MyServer:8988/MyApplicationRoot/xmlhttp/css/xp/css-images/menu_blank_icon.gif
and with ICEfaces 1.6.1 they look like:
http://MyServer:8988/xmlhttp/css/xp/css-images/menu_blank_icon.gif
which means that the application name "MyApplicationRoot" has been lost. Also, adding in action and actionListener attributes makes it resolve to the correct image paths. I suspect that the resource path resolution code is different between these two code paths.
Activity
Mark Collette
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #14957 | Mon Oct 15 17:58:50 MDT 2007 | yip.ng | Added calls to resolve URL for menu item image source path. Changed width of menu item image to match the width of blank icon. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css |
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.6.2 [ 10111 ] | |
Fix Version/s | 1.7DR#2 [ 10110 ] | |
Assignee | Yip Ng [ yip.ng ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #14979 | Thu Oct 18 14:29:17 MDT 2007 | yip.ng | Added calls to resolve URL for menu item image source path. |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.6/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
|
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Yip Ng [ yip.ng ] |