Hi...
I would like use the PanelNavigation2.
I copy from the myfaces-example all what i need (code, bean, bundle).
It dos not working.
I click on the PanelNavigation but the commandNavigation dos not expand.
There is not any error message.
On the same jsp the tree2 component works well.
A part of a jsp:
/<t:div id="subnavigation_outer">
<t:div id="subnavigation">
<h:form>
<t:panelNavigation2 id="nav1" layout="list"
itemClass="mypage"
activeItemClass="selected" openItemClass="selected">
<t:commandNavigation2
value="#{navigation_messages.panelnav_products}"
action="go_panelnavigation_1">
<t:commandNavigation2
action="#{navigationMenu.getAction1}"
actionListener="#{navigationMenu.actionListener}">
<f:verbatim>› </f:verbatim>
<t:outputText
value="#{navigation_messages['panelnav_serach1']}" />
</t:commandNavigation2>
<t:commandNavigation2
actionListener="#{navigationMenu.actionListener}">
<f:verbatim>› </f:verbatim>
<t:outputText
value="#{navigation_messages['panelnav_serach_acc1']}" />
</t:commandNavigation2>/
......
I attach the web.xml to this mail.
can anyone see, where is the error?
or what I didnt attend??
thanks for any help
------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Test</display-name>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
<!--
E**************************MYFACES-Filter***********************************
-->
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<param-name>maxFileSize</param-name>
<param-value>20 MB</param-value>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<!-- servlet-name must match the name of your
javax.faces.webapp.FacesServlet entry -->
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<!-- extension mapping for serving page-independent resources
(javascript, stylesheets, images, etc.) -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>SourceCodeServlet</servlet-name>
<servlet-class>
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SourceCodeServlet</servlet-name>
<url-pattern>*.source</url-pattern>
</servlet-mapping>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</web-app>