Please help me in this regard. :-(
pals wrote: > > > Hi Aneesha, > > > Your links are really useful. > But i think my application has sworn not to work. > Stealing a little of your time. > > Have you tried working with Tomahawk1.1.3 with Sun's > JSF RI(jsf-api.jar and jsf-impl.jar) only > > and not Myfaces impl(myfaces-api.jar and > myfaces-impl.jar).My project wants to stick to sun's impl. > > > Best Regards, > Pallavi > > ________________________________ > > From: Aneesha Govil [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 01, 2006 5:02 PM > To: MyFaces Discussion > Subject: Re: How to add tomahawk support to a Sun JSF RI application > > > Hi Pallavi, > > Take a look at this message > > http://mail-archives.apache.org/mod_mbox/myfaces-users/200608.mbox/%3CB3 > [EMAIL PROTECTED] > > > It says this - > > > java.lang.IllegalStateException: ExtensionsFilter not correctly > configured. JSF mapping > missing. JSF pages not covered. Please see: > > http://myfaces.apache.org/tomahawk/extensionsFilter.html > <http://myfaces.apache.org/tomahawk/extensionsFilter.html> > > > > org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtension > sFilterMissing > > > Check that the filter-mappings are ok. The problem could > have something to do with the > > include of .jsp pages in other pages, > > for example <[EMAIL PROTECTED] file="header.jsp" %>. So make > sure that the mapping for .jsp > pages exist and is correct > I can't find it in your web.xml. Try it. > > > Regards, > Aneesha > > > On 11/1/06, [EMAIL PROTECTED] < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > > > Hi, > > > Aneesha i have changed my web.xml the way you indicated. > (So that the MultipartRequestWrapper is there in this package to > communicate with common-fileupload-1.0.jar). > > > But in vain i get the same exception again: > > > 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 > > > I have included the web.xml that i have used : > ================================ > > > > <? > > xml version="1.0" encoding="UTF-8"?> > > > <! > > DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd "> > > > < > > web-app id="WebApp_ID" > > > > <display-name>TomTest</display-name > > > <context-param> > > <param-name>javax.faces.STATE_SAVING_METHOD</ param-name> > > <param-value>client</param-value > > > </context-param> > > > <context-param> > > <param-name>com.ibm.ws.jsf.JSP_UPDATE_CHECK</ param-name> > > <param-value>true</param-value > > > <description>Monitors Faces JSP files for modifications and > synchronizes a running server with > > the changes without restarting the server. If this parameter is > set to false or > > removed from the deployment descriptor, any changes made to > Faces JSP files may > > not be seen by the server until it is restarted. This parameter > is usually set > > to true while the Faces JSP files are being developed and > debugged in order to > > improve the performance of the development > environment.</description> > > </context-param> > > <context-param> > > <param-name>com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP</ > param-name> > > <param-value>true</param-value > > > <description></description> > > > </context-param> > > <context-param> > > <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</ param-name> > > <param-value>true</param-value > > > </context-param> > > <context-param> > > <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</ param-name> > > <param-value>false</param-value > > > </context-param> > > <filter> > > <filter-name>extensionsFilter</filter-name > > > > > <filter-class>org.apache.myfaces.webapp.filter.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>*.jsf</url-pattern > > > </filter-mapping> > > <filter-mapping> > > <filter-name>extensionsFilter</filter-name > > > <url-pattern>*.faces</url-pattern > > > </filter-mapping> > > <filter-mapping> > > <filter-name>extensionsFilter</filter-name > > > <url-pattern>/faces/*</url-pattern > > > </filter-mapping> > > > > > <listener> > > <listener-class>com.sun.faces.config.ConfigureListener</ > listener-class> > > </listener> > > <servlet id="Servlet_1153799320859" > > > <servlet-name>JS Resource Servlet</servlet-name> > > <servlet-class> > > com.ibm.faces.webapp.JSResourceServlet</servlet-class> > > > <load-on-startup>-1</load-on-startup > > > </servlet> > > <servlet-mapping> > > <servlet-name>JS Resource Servlet</servlet-name> > > <url-pattern>/.ibmjsfres/*</url-pattern > > > </servlet-mapping> > > <welcome-file-list> > > <welcome-file>index.html</welcome-file > > > <welcome-file>index.htm</welcome-file > > > <welcome-file>index.jsp</welcome-file > > > <welcome-file>default.html</welcome-file > > > <welcome-file>default.htm</welcome-file > > > <welcome-file>default.jsp</welcome-file > > > </welcome-file-list> > > <taglib id="PortletTLD"> > > > <taglib-uri> http://java.sun.com/portlet > <http://java.sun.com/portlet> </taglib-uri> > > <taglib-location>/WEB-INF/tld/std-portlet.tld</ taglib-location> > > </taglib> > > </web-app> > > > > I would be grateful if you folks could help me. > > Best Regards, > > Pallavi > > > > > > > > ________________________________ > > From: Aneesha Govil [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 01, 2006 2:55 PM > To: MyFaces Discussion > Subject: Re: How to add tomahawk support to a Sun JSF RI > application > > > > > > > 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] > <mailto:[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. > > > http://wiki.apache.org/myfaces/How_to_add_MyFaces_support_to_a_Sun_JSF_R > I_application > > > 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</f > ilter-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. > <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 > > > > > > > > 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 > -- View this message in context: http://www.nabble.com/How-to-add-tomahawk-support-to-a-Sun-JSF-RI-application-tf2550561.html#a7133229 Sent from the MyFaces - Users mailing list archive at Nabble.com.

