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
- All
 - Comments
 - History
 - Activity
 - Remote Attachments
 - Subversion
 
| 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
            
             | 
| 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
            
             | 
