[ http://issues.apache.org/jira/browse/MYFACES-908?page=comments#action_12362331 ]
Daniel Lefevre commented on MYFACES-908: ---------------------------------------- Sorry, the above is not sufficient, the location.host will return the reference to the end server, not of the reverse proxy. > jscookmenu: images do not appear > -------------------------------- > > Key: MYFACES-908 > URL: http://issues.apache.org/jira/browse/MYFACES-908 > Project: MyFaces > Type: Bug > Components: Tomahawk > 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
