Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

t:inputCalendar in JSF having probelms with Tomahawk1.1.3

 
Pallavi Roy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you need to map the extensions filter to Faces Servlet like this

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic