Hi!

 

I’ve a problem with jsCookMenu, when using with the following conditions:

 

  • Server side state saving
  • Disabling cookies

 

For being able to identify the session, MyFaces appends the jsessionid at the end of URLs…. The problem is the following:

 

var myThemeOfficeBase='/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11592742/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/;jsessionid=E6FE293006B3AA121A5A74DA2D1C1561';

 

is rendered in the header of my HTML file….     The _javascript_ for JsCookMenu looks like this

 

…..

if(myThemePanelBase)
    cmThemePanelBase = myThemePanelBase;

…..

mainFolderRight: '<img alt="" src="" + cmThemePanelBase + 'arrow.gif">',

 

So the browser tries to retrieve the following image:

 

/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11592742/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/;jsessionid=E6FE293006B3AA121A5A74DA2D1C1561arrow.gif

 

So the browser tries to retrieve the following image…. Which is not working of course.

 

Dominik

Reply via email to