You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Lefevre, Daniel" <da...@siemens.com> on 2006/01/10 12:23:52 UTC
RE: Issue with images in jscookmenu
I think that the correction should be made in the method "addThemeSpecificResources" of the "org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer" class.
The lines:
StringBuffer buf = new StringBuffer();
buf.append("my");
buf.append(themeName);
buf.append("Base='");
should be replaced by:
StringBuffer buf = new StringBuffer();
buf.append("my");
buf.append(themeName);
buf.append("Base=location.protocol+'//'+location.host+'");
This way, the variable will always contain the absolute reference to the theme and that will work with a reverse proxy.
Bye, Dan
-----Original Message-----
From: Mike Kienenberger [mailto:mkienenb@gmail.com]
Sent: mardi 6 décembre 2005 16:58
To: MyFaces Discussion
Subject: Re: Issue with images in jscookmenu
Dan,
I don't know enough to work on this issue, but you probably want to
take a look at the following method to see if you can get it working.
myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/AddResource.java
serveResource(HttpServletRequest request, HttpServletResponse response)
After a bug fix I added yesterday, I suspect you need to modify this
method to add the absolute path information.
On 12/6/05, Lefevre, Daniel <da...@siemens.com> wrote:
> Hello Bruno,
>
> Jira issue MYFACES-908 has been created.
>
> Bye, Dan
>
jscookmenu work on IE, Firebird, but not on Opera :[
Posted by Dudu <ed...@yahoo.com.br>.
I know that the official JscookMenu works fine on opera, but why when I
put on my myfaces application, it do not works? the menu is not rendered.
The problem is me, or the problem is only the jscookmenu on myfaces?
thanks all
_______________________________________________________
Yahoo! doce lar. Fa�a do Yahoo! sua homepage.
http://br.yahoo.com/homepageset.html