myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Thalheim <bjoern.thalh...@gmx.de>
Subject [Trinidad] tr:inputDate vs. servlet mapping
Date Wed, 26 Sep 2007 14:26:12 GMT
Hi,

I'd like to use just a plain
	<tr:inputDate binding="#{backend.variable}" />
in a form. Unfortunately, the popup-Window which opens when clicking at 
the calendar icon of the inputDate-tag returns me:
	HTTP Status 404 -
´	type 		Status report
	message
	description	The requested resource () is not available.
The corresponding log message is:
[#|2007-09-26T15:36:06.687+0200|SEVERE|sun-appserver9.1|org.apache.jasper.servlet.JspServlet|
_ThreadID=14;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=5b18f541-b475-44c0-a5e3-536a9369fde2;|
PWC6117:File "bla\bla}bla\myModule\__ADFv__.jsp" not found|#]

This is a problem of the servlet mapping in my web.xml. It at the moment 
looks like this:
   <!-- Faces Servlet Mappings -->
    <servlet-mapping>
     <servlet-name>faces</servlet-name>
     <url-pattern>*.jsf</url-pattern>
   </servlet-mapping>

   <!-- I wouldn't mind getting rid of this entry. -->
   <servlet-mapping>
     <servlet-name>faces</servlet-name>
     <url-pattern>/faces/*</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
     <servlet-name>resources</servlet-name>
     <url-pattern>/adf/*</url-pattern>
   </servlet-mapping>

If I used only the second of these mappings, the inputDate would work, 
according to 
http://www.nabble.com/Trinidad-404-error:-requested-resource-(-tutoring-__ADFv__.jsp)-is-not-available-t4504436.html,
but this is not an option because then everything else wouldn't work.

Is there any way to get this running without the faces -> /faces/* 
servlet mapping? And preferably, without hacking the trinidad taglibs? 
That would be really helpful.

Björn

Mime
View raw message