incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Kuno.Baeris...@bkw-fmb.ch>
Subject AW: Calendar Pop-up of selectInputDate fails with 404
Date Wed, 25 Apr 2007 10:31:33 GMT
Hello Matthias!

Thanks for your reply. 

It was just a missspelling, since I was browsing in the ADF component documentation. I was
sitting on a nightly build of 3 weeks ago or so, however, I could fix the problem with a fresh
nightly build today.

Thanks again.

Kuno

-----Urspr√ľngliche Nachricht-----
Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com]Im Auftrag von
Matthias Wessendorf
Gesendet: Mittwoch, 25. April 2007 12:16
An: adffaces-user@incubator.apache.org
Betreff: Re: Calendar Pop-up of selectInputDate fails with 404


selectInputDate is an old name for inputDate.

Are you sitting on the latest, greates Trinidad ?

.M

On 4/24/07, Kuno.Baeriswyl@bkw-fmb.ch <Kuno.Baeriswyl@bkw-fmb.ch> wrote:
> 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>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message