You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jay Kaul <Ja...@notes.ntrs.com> on 2005/10/26 23:16:39 UTC

JSCookMenu in 1.1.1RC3 -- Problem

We have a custom theme called "MyTheme"  defined for JSCookMenu. It used 
to work for 1.0.9 but it stopped working when I upgraded to 1.1.1RC3 

The error I am getting is: 

"You provided a wrong themeName. Must be one of ThemeOffice, 
ThemeMiniBlack, ThemeIE or ThemePanel" 

  which is coming from HtmlJSCookMenuRendere.java class in method: 
    private void addThemeSpecificResources(String themeName, String 
styleLocation, String javascriptLocation, String imageLocation, 
FacesContext context) 

Is there a reason why this is being done? 
If this is a new feature added for 1.1.1 then a work-around suggestion 
would be great. 

Thanks and Regards, 

Jay Kaul

Re: JSCookMenu in 1.1.1RC3 -- Problem

Posted by Sean Schofield <se...@gmail.com>.
I believe this is a known issue that has been fixed in the trunk
(nightly build).  Unfortunately it will not be included in the next
release.  Suggested workaround is to use the latest nightly build.

sean

On 10/26/05, Jay Kaul <Ja...@notes.ntrs.com> wrote:
>
> We have a custom theme called "MyTheme"  defined for JSCookMenu. It used to
> work for 1.0.9 but it stopped working when I upgraded to 1.1.1RC3
>
>  The error I am getting is:
>
>  "You provided a wrong themeName. Must be one of ThemeOffice,
> ThemeMiniBlack, ThemeIE or ThemePanel"
>
>   which is coming from HtmlJSCookMenuRendere.java class in method:
>     private void addThemeSpecificResources(String
> themeName, String styleLocation, String javascriptLocation, String
> imageLocation, FacesContext context)
>
>  Is there a reason why this is being done?
>  If this is a new feature added for 1.1.1 then a work-around suggestion
> would be great.
>
>  Thanks and Regards,
>
>  Jay Kaul