aspose file tools*
The moose likes JSF and the fly likes t:inputCalendar in JSF having probelms with Tomahawk1.1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "t:inputCalendar in JSF having probelms with Tomahawk1.1.3" Watch "t:inputCalendar in JSF having probelms with Tomahawk1.1.3" New topic
Author

t:inputCalendar in JSF having probelms with Tomahawk1.1.3

Pallavi Roy
Ranch Hand

Joined: Jun 01, 2006
Posts: 37
Hi All,

A)I have included the detailed description of the steps followed.As a part of my new assignment i have been asked to upgrade to Tomahawk1.1.3.I am Websphere RAD to build my application.
The application uses custom components <t:inputCalendar> and <tanelTabbedPane>.The application worked properly with Tomahawk1.1.1 but once i have upgraded to Tomahawk1.1.3 i am getting the error message "This portlet is unavailable".
Please note i have used jsf-api.jar(version 1.1) and jsf-impl.jar and not myfaces-all.jar.

B)I have also configured the extension filter in my web.xml file.
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>Set the threshold size - files below this limit are stored in memory, files above this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
</init-param>
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

C)But when i run the application i get the exception in the console as:

Nested Exception is java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html.

Please help me trouble shooting.What additional configurations do i need to make this application run.


Break the ice - SCJP 1.4,<br />Where There's a will- SCWCD 1.4.<br />Back in action - Websphere Certified Portal 6 Application Developer
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
I guess you need to map the extensions filter to Faces Servlet like this

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: t:inputCalendar in JSF having probelms with Tomahawk1.1.3
 
Similar Threads
Myfaces component is not rendered properly
MyFaces Tomahawk latest 1.1.7-SNAPSHOT problem
Javascript error when upgrading to tomahawk 1.1.3
inputCalendar - absolute uri problem
Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mappi