Hi,
I finally get something that works with an external theme. I'm using the last svn with:
<t:jscookMenu layout="hbr"
theme="ThemeIE"
imageLocation="menu/ThemeIE/"
styleLocation="menu/ThemeIE/"
_javascript_Location="menu/ThemeIE/">
theme="ThemeIE"
imageLocation="menu/ThemeIE/"
styleLocation="menu/ThemeIE/"
_javascript_Location="menu/ThemeIE/">
The pbs found are:
1/ I have to copy the JSCookMenu.js and its myfaces patch in the theme directory
2/ I can not use another name for the theme than the ones predefined (theme is mandatory in the tld)
3/ a quote is missing in HtmlJSCookMenuRenderer :
method : addThemeSpecificResources
if(imageLocation!=null)
{
buf.append(AddResource.getResourceBasePath(imageLocation)).append("'"); //<----- here
}
else
{
buf.append(AddResource.getResourceBasePath(HtmlJSCookMenuRenderer.class,context));
buf.append("/ThemeOffice/';");
}
If I remember someone is working on this.
patrick
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez le ici !