incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Kuno.Baeris...@bkw-fmb.ch>
Subject Calendar Pop-up of selectInputDate fails with 404
Date Tue, 24 Apr 2007 19:57:32 GMT
Hi all!

I use the selectInputDate component for entering a date value. Everthing works fine, but it
fails if I click on the calendar icon that should open the Calendar pop-up. 

404 Not Found
/<myapp>/<myapp>/__ADFv__.jsf

Does anybody have an idea?

Many thanks in advance.

Kuno

My web.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  id="WebApp_ID"
  version="2.4"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  <display-name>EDIS</display-name>
  <context-param>
    <param-name>log4jConfigLocation</param-name>
    <param-value>/WEB-INF/classes/log4j.xml</param-value>
  </context-param>
  <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:applicationContext.xml
            classpath:applicationContextJSF.xml /WEB-INF/acegi.xml</param-value>
  </context-param>
	<!-- Use documents saved as *.xhtml for Facelets -->
	<context-param>
	  <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
	  <param-value>.xhtml</param-value>
	</context-param> 
	<!-- FaceletViewHandler configuration -->
	<context-param>
	  <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
	  <param-value>com.sun.facelets.FaceletViewHandler</param-value>
	</context-param>
      <!-- Special Debug Output for Development -->
      <context-param>
              <param-name>facelets.DEVELOPMENT</param-name>
              <param-value>true</param-value>
      </context-param>
      <!-- Optional JSF-RI Parameters to Help Debug -->
      <context-param>
              <param-name>com.sun.faces.validateXml</param-name>
              <param-value>true</param-value>
      </context-param>
      <context-param>
              <param-name>com.sun.faces.verifyObjects</param-name>
              <param-value>true</param-value>
      </context-param>	
  <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
  </context-param>  
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT
      </param-name>
      <param-value>false</param-value>
   </context-param>
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
      </param-name>
      <param-value>true</param-value>
   </context-param>
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.resource.DEBUG
      </param-name>
      <param-value>true</param-value>
   </context-param>
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.CACHE_VIEW_ROOT
      </param-name>
      <param-value>false</param-value>
   </context-param>
  <!-- Log4j -->
  <listener>
    <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
  </listener>
  <!-- Spring -->
  <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  <listener>
    <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
  </listener>
  <!-- MyFaces -->
  <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
  </listener>
  <!-- Spracheinstellungen -->
  <filter>
    <filter-name>localeFilter</filter-name>
    <filter-class>ch.bkw.edis.web.LocaleFilter</filter-class>
  </filter>
  <filter>
    <filter-name>trinidad</filter-name>
    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
  </filter>  
  <filter-mapping>
    <filter-name>localeFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
  <filter>
   <filter-name>CharacterEncodingFilter</filter-name>
   <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
   <init-param>
     <param-name>encoding</param-name>
     <param-value>UTF-8</param-value>
   </init-param>
  </filter>
  <filter-mapping>
    <filter-name>CharacterEncodingFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>CharacterEncodingFilter</filter-name>
    <url-pattern>*.xhtml</url-pattern>
  </filter-mapping>  
  <!-- OpenSessionInViewFilter -->
  <!-- Bitte auskommentieren um eine LazyInitializationException zu provozieren -->
  <filter>
    <filter-name>hibernateFilter</filter-name>
    <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>hibernateFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
  </filter-mapping>
  <!-- Ende OpenSessionInViewFilter  -->
  <!-- Acegi -->
  <filter>
    <filter-name>AcegiFilter</filter-name>
    <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
    <init-param>
      <param-name>targetClass</param-name>
      <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>AcegiFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
  </filter-mapping>
  <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
  </filter-mapping>  
  <!-- JSF -->
  <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>2</load-on-startup>
  </servlet>
 <servlet>
  <servlet-name>resources</servlet-name>
  <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
 </servlet>
 <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
  </servlet-mapping>  
  <welcome-file-list>
    <welcome-file>userSelector.jsp</welcome-file>
  </welcome-file-list>
  <error-page>
    <exception-type>javax.faces.FacesException</exception-type>
    <location>/errorpage.jsp</location>
  </error-page>
</web-app>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message