-
1. Re: Sample Seam + Facelets + Portlet
ssilvert Aug 14, 2006 7:18 AM (in response to chuaky)Look under examples/portal
-
2. Re: Sample Seam + Facelets + Portlet
chuaky Aug 14, 2006 9:06 AM (in response to chuaky)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. -
3. Re: Sample Seam + Facelets + Portlet
ssilvert Aug 14, 2006 9:47 AM (in response to chuaky)This is a known problem with Tomahawk. If you search MyFaces Jira you will find some workarounds, but there is no official fix for this yet.
Servlet filters are not reliable in a portlet environment. The next version of the portlet spec will address this by adding portlet filters.
Stan -
4. Re: Sample Seam + Facelets + Portlet
chuaky Aug 14, 2006 10:18 AM (in response to chuaky)dear stan silvert,
Just saw the issue tracker facility :) ... sorry new here.
Would check the JIRA often if in doubts.
Many thanks to u.