Hi all,I have a problem while trying to integrate AutoUpdateDataTable inside a portlet. I am using Liferay 4.0.0 with Tomcat 5.5.17.
I have configured the ExtensionsFilter in web.xml as explained on Tomahawk pages, but I steill get 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>
I have read a lot about this problem and saw that this could be a bug inside Tomcat also. I have tries to use Jetty quickly but i did not manage to make it work.
Probably that I am doing a wrong thing but i cannot find what, even after reading a lot of forums and mailing lists. I saw that was a "common" problem. So, is it possible to use AutoUpdateDataTable inside a portlet?
Please find attached my web.xml and faces-confix.xml files.
<?xml version="1.0"?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> <faces-config xmlns="http://java.sun.com/JSF/Configuration"> <factory> <faces-context-factory>com.liferay.util.jsf.apache.myfaces.context.MyFacesContextFactoryImpl</faces-context-factory> </factory> </faces-config>
<?xml version="1.0"?> <!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> <display-name>activechannels-portlet</display-name> <context-param> <param-name>company_id</param-name> <param-value>liferay.com</param-value> </context-param> <context-param> <param-name> org.apache.myfaces.CHECK_EXTENSIONS_FILTER </param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <context-param> <param-name>javax.faces.application.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml</param-value> </context-param> <listener> <listener-class>com.liferay.portal.shared.servlet.PortletContextListener</listener-class> </listener> <!-- Extensions Filter --> <filter> <filter-name>extensionsFilter</filter-name> <filter-class> org.apache.myfaces.webapp.filter.ExtensionsFilter </filter-class> </filter> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>/faces/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>*.jsf</url-pattern> </filter-mapping> <servlet> <servlet-name>activechannels-portlet</servlet-name> <servlet-class>com.liferay.portal.shared.servlet.PortletServlet</servlet-class> <init-param> <param-name>portlet-class</param-name> <param-value>org.apache.myfaces.portlet.MyFacesGenericPortlet</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> <servlet> <servlet-name>FacesServlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>FacesServlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <taglib> <taglib-uri>http://java.sun.com/portlet</taglib-uri> <taglib-location>/WEB-INF/tld/liferay-portlet.tld</taglib-location> </taglib> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app>

