You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mk...@apache.org on 2005/12/22 18:04:10 UTC
svn commit: r358589 -
/myfaces/forrest/trunk/content/xdocs/tomahawk/extensionsFilter.xml
Author: mkienenb
Date: Thu Dec 22 09:04:08 2005
New Revision: 358589
URL: http://svn.apache.org/viewcvs?rev=358589&view=rev
Log:
After confirmation by Simon that he'd be using the /faces/myfacesExtensionResource/* mapping, and finally having it work correctly in my own application, I've updated the extension filter documentation to use this mapping instead.
Modified:
myfaces/forrest/trunk/content/xdocs/tomahawk/extensionsFilter.xml
Modified: myfaces/forrest/trunk/content/xdocs/tomahawk/extensionsFilter.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/tomahawk/extensionsFilter.xml?rev=358589&r1=358588&r2=358589&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/tomahawk/extensionsFilter.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/tomahawk/extensionsFilter.xml Thu Dec 22 09:04:08 2005
@@ -49,7 +49,7 @@
<section>
<title>How do I configure it?</title><p>
In your web.xml, map this filter to the path used for the JSF pages (most likely *.jsf)
- so the filter can update resource links on your JSF pages, and also map the filter to the /faces/* path
+ so the filter can update resource links on your JSF pages, and also map the filter to the /faces/myFacesExtensionResource/* path
so it can serve page-independent resources like images, javascript files, and stylesheets.
Here's one example of configuring the extensions filter:</p>
<source>
@@ -79,10 +79,10 @@
<!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
- <url-pattern>/faces/*</ url-pattern>
+ <url-pattern>/faces/myFacesExtensionResource/*</ url-pattern>
</filter-mapping>
]]></source>
- <p>Alternate mapping using a url-pattern instead of a servlet-name (you still need the /faces/* mapping as well):</p>
+ <p>Alternate mapping using a url-pattern instead of a servlet-name (you still need the /faces/myFacesExtensionResource/* mapping as well):</p>
<source>
<![CDATA[
<!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->