Also, the extensions filter should have the class set to
org.apache.myfaces.webapp.filter.ExtensionsFilter
instead of
org.apache.myfaces.component.html.util.ExtensionsFilter

mentioned on that webpage.

Aneesha


On 11/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:



Hi All,
          Please help me in this regard.
          I am receiving no inputs from the members.
         
          I have referred to the link on the net that mentions in order to
          ensure compatibility between Myfaces and Sun's JSF RI you need to use myfaces-extension.jar.
          From where do i download myfaces-extension.jar.
          
          Please note i cannot use myfaces-api and impl as the project wants to stick to SUN's JSF RI.  :-(
         
          Can anybody provide me support on this.
          I just need to know that how can i configure my extension filters correctly so that tomahawk1.1.3.jar can communicate with common-fileupload.jar
        and Tomahawk custom component <t:inputCalender> can work in my Portlet.
 
        Hoping for a reply.
 
Best
         


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2006 12:27 PM
To: [email protected]
Subject: How to add tomahawk support to a Sun JSF RI application

Hi All,
 
I am very new to JSF and Portals.As a part of my new assignment i have been asked to upgrade to Tomahawk1.1.3.I am using Websphere5.1 and 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".
 
The Jars used (apart from other common api's):
==================================
1) tomahawk1.1.3.jar
2) jsf-api.jar
3) jsf-impl.jar
4) common-fileupload.jar

Please note i have used jsf-api.jar and jsf-impl.jar and not myfaces-all.jar.
My question is how to support <t:inputCalneder> with Sun's JSF application.
How should i configure my extension filter and do i need any other jar to support.

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.
Best Regards,
Pallavi
 


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

Reply via email to