Could you submit a JIRA [1] issue explaining the problem, so we do not forget?
Regards, Bruno [1] http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10600 2005/12/6, Lefevre, Daniel <[EMAIL PROTECTED]>: > > Hello > > I'm dealing successfully with the jscookmenu component when I work on the > test environments. But when I put the application in the production > environment, the jsCookMenu does not display the images anymore. > The difference is that the production environment is accessible via a > reverse proxy. > When I look into the generated page, I see the following: > > <head> > <script type="text/javascript" > src="https://myserver/myapp/faces/myFacesExtensionResource/org.apache.myfaces.component.html.util.MyFacesResourceLoader/11337878/navmenu.jscookmenu.HtmlJSCookMenuRenderer/JSCookMenu.js"><!-- > > //--></script> > <script type="text/javascript" > src="https://myserver/myapp/Sigl4/faces/myFacesExtensionResource/org.apache.myfaces.component.html.util.MyFacesResourceLoader/11337878/navmenu.jscookmenu.HtmlJSCookMenuRenderer/MyFacesHack.js"><!-- > > //--></script> > <script type="text/javascript"><!-- > var > myThemeOfficeBase=/myapp/faces/myFacesExtensionResource/org.apache.myfaces.component.html.util.MyFacesResourceLoader/11337878/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/'; > //--></script> > <script type="text/javascript" > src="https://myserver/myapp/Sigl4/faces/myFacesExtensionResource/org.apache.myfaces.component.html.util.MyFacesResourceLoader/11337878/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/theme.js"><!-- > //--></script> > > As you can see, all references are absolute, except the initialisation of > the myThemeOfficeBase variable which uses a relative reference to the theme > directory. > I think this is the reason of the problem. This reference should be made > absolute as the others and the images will then be rendered correctly, even > via a reverse proxy. > > Yours, Dan