[jboss-user] [JBoss Seam] - Re: Sample Seam + Facelets + Portlet
chuaky
do-not-reply at jboss.com
Mon Aug 14 09:06:24 EDT 2006
dear stan silvert,
my problem seems to be caused by the following which if removed, things are ok.
In my web.xml, the following is added to support Tomahawk because i originally used the seam booking sample and added Tomahawk.
======
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>maxFileSize</param-name>
<param-value>20m</param-value>
Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</init-param>
<!-- extension mapping for adding , , and other resource tags to JSF-pages -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
=========
Not sure if the above got anything to do with the extensionsFilter in the jboss-portal.sar\portal-core.war\WEB-INF\web.xml
Many thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964958#3964958
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964958
More information about the jboss-user
mailing list