[ http://issues.apache.org/jira/browse/TOMAHAWK-11?page=comments#action_12411892 ]
Wolfgang Klaus commented on TOMAHAWK-11: ---------------------------------------- There is one more problem with the images and Internet Explorer. The imagas aren't loaded when setting browser or Server not to use Cookies. Then the myThemeOfficeBase looks like the following myThemeOfficeBase='/Hardware/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11477573/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/;jsessionid=2D07929CE8D079161D6E8806A059626B'; The SessionId is appended at the end. of the URL. In theme.js this URL is used to build the Source for the images. The result is for example the following value: /Hardware/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11477573/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/;jsessionid=2D07929CE8D079161D6E8806A059626Bspacer.gif As you can see the image name is appended at the and. This URL works fine with FireFox but Internet Explorer don't like this and therefor the images are not loaded. Here the code from theme.js wich builds the src-Attribute folderLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.gif">', I changed the code in theme.js to check if URL contains a sessionID. When a sessionID exists then the image name is insertet before the sessionID. After that change the Menu works fine in Internet Explorer. I append the theme.js for ThemeOffice as example. If you want I can try to make patch-Files for all Themes. > jscookmenu: images do not appear > -------------------------------- > > Key: TOMAHAWK-11 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-11 > Project: MyFaces Tomahawk > Type: Bug > Components: JS Cook Menu > Environment: acces application from the web via a reverse proxy > Reporter: Daniel Lefevre > Priority: Minor > > When using jscookmenu, the generated javascript uses a relative reference for > the value of the myThemeOfficeBase variable: > var > myThemeOfficeBase='/myapp/faces/myFacesExtensionResource/org.apache.myfaces.component.html.util.MyFacesResourceLoader/11337878/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/'; > This causes images to not appear when accessing the application via a reverse > proxy. > An absolute reference should be used instead, as for the js files references: > myThemeOfficeBase='https://myserver/myapp/faces/myFacesExtensionResource/org.apache.myfaces.component.html.util.MyFacesResourceLoader/11337878/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/'; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
