No i did not. Can you tell why it is needed exactly? I'm using the
servlet-mapping for faces. Is that different from using filter-mapping?

Thanks,

Greg

-----Original Message-----
From: Bruno Aranda [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 14, 2005 12:56 PM
To: MyFaces Discussion
Subject: Re: jscookmenu problem

Maybe you don't have included the extensions filter in the web.xml file:

[CODE]

 <!-- Extensions Filter -->
  <filter>
      <filter-name>extensionsFilter</filter-name>
 
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</f
ilter-class>
      <init-param>
          <param-name>uploadMaxFileSize</param-name>
          <param-value>100m</param-value>
          <description>Set the size limit for uploaded files.
              Format: 10 - 10 bytes
                      10k - 10 KB
                      10m - 10 MB
                      1g - 1 GB
          </description>
      </init-param>
      <init-param>
          <param-name>uploadThresholdSize</param-name>
          <param-value>100k</param-value>
          <description>Set the threshold size - files
                  below this limit are stored in memory, files above
                  this limit are stored on disk.

              Format: 10 - 10 bytes
                      10k - 10 KB
                      10m - 10 MB
                      1g - 1 GB
          </description>
      </init-param>
<!--        <init-param>
          <param-name>uploadRepositoryPath</param-name>
          <param-value>/temp</param-value>
          <description>Set the path where the intermediary files
will be stored.
          </description>
      </init-param>-->
  </filter>

  <filter-mapping>
      <filter-name>extensionsFilter</filter-name>
      <url-pattern>*.jsf</url-pattern>
  </filter-mapping>
  <filter-mapping>
      <filter-name>extensionsFilter</filter-name>
      <url-pattern>/faces/*</url-pattern>
  </filter-mapping>

[/CODE]

Or maybe 
2005/9/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Well, i got it to work in the end... I had to find the .css and .js
> files for my theme as well as JSCookMenu.js and include them in my
page
> manually. This is very weird because in HtmlJSCookMenuRendered.java
the
> method encodeEnd contains lines such as:
> 
>         AddResource.addJavaScriptToHeader(NavigationMenuItem.class,
> "jscookmenu/ThemeOffice/theme.js", context);
>         AddResource.addStyleSheet(NavigationMenuItem.class,
> "jscookmenu/ThemeOffice/theme.css", context);
> 
> Which I thought would take care of that for us... any ideas? Is this a
> bug or am I getting something the wrong way here?
> 
> Thanks,
> 
> greg
> 
> -----Original Message-----
> From: Gregory Vial
> Sent: Wednesday, September 14, 2005 12:10 PM
> To: [email protected]
> Subject: RE: jscookmenu problem
> 
> Hehe, I'm using version 1.0.9 which I downloaded the other day from
the
> official website. The examples work but i can't implement it myself...
> 
> Greg
> 
> -----Original Message-----
> From: Deepinder Singh [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 14, 2005 12:09 PM
> To: MyFaces Discussion
> Subject: RE: jscookmenu problem
> 
>  Greg,
>    Which build are you using? For me the JSCookMenu wont even show up
on
> the page ;)
> Thanks,
> deepinder
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 14, 2005 8:56 AM
> To: [email protected]
> Subject: jscookmenu problem
> 
> Hi,
> 
> I'm trying to use the jsCookMenu but it never seems to add the
required
> headers for the theme.js and theme.css files that are required which
> leads to an 'cmThemOffice is undefined' javascript error when the page
> is rendered.
> 
> Has anybody have any problems with this?
> 
> Thanks,
> 
> Greg
> 
> 
> 
> 
> _______________
> Siebel
> IT'S ALL ABOUT THE CUSTOMER
> Visit www.siebel.com
> 
> This e-mail message is for the sole use of the intended recipient(s)
and
> contains confidential and/or privileged information belonging to
Siebel
> Systems, Inc. or its customers or partners. Any unauthorized review,
> use, copying, disclosure or distribution of this message is strictly
> prohibited. If you are not an intended recipient of this message,
please
> contact the sender by reply e-mail and destroy all soft and hard
copies
> of the message and any attachments. Thank you for your cooperation.
> 
>

Reply via email to