Hi I have a problem using tomahawk calendar in my myfaces application
deployed in Tomcat server.
When I do not configure  the extensions filter I am able to see the calendar
and obviously it does  not update my bean with the value chosen using
calendar.
But when I configure the extension filter i am not able to access the
application it says resource not found.

I guess this issue is because of conflict in the context path after
configuring the extensions filter.

Here is my web.xml content:

<?xml version="1.0"?>
<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>Click Portal</display-name>
 <context-param>
  <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  <param-value>client</param-value>
 </context-param>
 <context-param>
  <param-name>javax.faces.application.CONFIG_FILES</param-name>
  <param-value>/WEB-INF/faces-config.xml</param-value>
 </context-param>
 <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>20m</param-value>
  </init-param>
 </filter>
 <!-- extension mapping for adding <script/>, <link/>, and other resource
tags to JSF-pages  -->
 <filter-mapping>
  <filter-name>MyFacesExtensionsFilter</filter-name>
  <!-- servlet-name must match the name of your
javax.faces.webapp.FacesServlet entry -->
  <url-pattern>*.jsf</url-pattern>
 </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>
 <!-- Listener, that does all the startup work (configuration, init). -->
 <listener>
 
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
 </listener>
 <!-- Faces Servlet -->
 <servlet>
  <servlet-name>FacesServlet</servlet-name>
  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  <load-on-startup>0</load-on-startup>
 </servlet>
 <servlet-mapping>
  <servlet-name>FacesServlet</servlet-name>
  <url-pattern>*.jsf</url-pattern>
 </servlet-mapping>
 <login-config>
  <auth-method>BASIC</auth-method>
 </login-config>
</web-app>

Please someone let me know what the problem could be.Thanks!


-- 
View this message in context: 
http://www.nabble.com/-jira--Created%3A-%28TOMAHAWK-428%29-inputCalendar-not-working-with-facelets-when-renderAsPopup%3D%22true%22-tf1590390.html#a7607400
Sent from the My Faces - Dev mailing list archive at Nabble.com.

Reply via email to