Hi,
> The project has the following libraries in the classpath
> Sun JSF 1.2
> MyFaces 1.2.8
> Tomahawk 1.1.9
you cannot have both JSF RI and MyFaces on classpath: remove one and try it
again.
Regards,
Kočičák
Julian Osorio Amaya píše v Čt 02. 06. 2011 v 14:10 +0000:
> Greetings
>
> We've a navigation problem with myfaces NavigationMenuItem class
> implementation in tomcat 6.32. There's a page refresh with a click over a
> menu item
>
> Here is the code
>
> BackingBean code
>
> NavigationMenuItem menu = new NavigationMenuItem[2];
> menu[0] = new NavigationMenuItem("", null,"/img/image.jpg", false);
> menu[1] = new NavigationMenuItem("", "logOut","/img/icon.png", false);
> NavigationMenuItem[] options = new NavigationMenuItem[1];
> menu[0].setNavigationMenuItems(options);
> opciones[0] = new NavigationMenuItem("Download","download");
>
> Jsp code
>
> <input type="hidden" name="jscook_action" />
> <t:jscookMenu id="menu" layout="hbr" theme="ThemeOffice">
> <t:navigationMenuItems id="items" value="#{MenuMB.menu}" />
> </t:jscookMenu>
>
> web.xml myfaces configuration
>
> <filter>
> <filter-name>extensionsFilter</filter-name>
>
> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
> <init-param>
> <description>Description</description>
> <param-name>uploadMaxFileSize</param-name>
> <param-value>100m</param-value>
> </init-param>
> <init-param>
> <description />
> <param-name>uploadThresholdSize</param-name>
> <param-value>100k</param-value>
> </init-param>
> </filter>
> <filter-mapping>
> <filter-name>extensionsFilter</filter-name>
> <servlet-name>Faces Servlet</servlet-name>
> </filter-mapping>
> <filter-mapping>
> <filter-name>extensionsFilter</filter-name>
> <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
> </filter-mapping>
>
> The project has the following libraries in the classpath
> Sun JSF 1.2
> MyFaces 1.2.8
> Tomahawk 1.1.9
>
> Are we missing something?
>
> Thanks for your time
>
> Julian Osorio Amaya