You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/05/19 15:53:24 UTC

svn commit: r776318 - /myfaces/tobago/branches/tobago-1.0.x/example/facelets/src/main/webapp/WEB-INF/web.xml

Author: lofwyr
Date: Tue May 19 13:53:24 2009
New Revision: 776318

URL: http://svn.apache.org/viewvc?rev=776318&view=rev
Log:
TOBAGO-755: ResourceResolver to resolve Facelets from the META-INF/resources directory anywhere in the classpath.

Modified:
    myfaces/tobago/branches/tobago-1.0.x/example/facelets/src/main/webapp/WEB-INF/web.xml

Modified: myfaces/tobago/branches/tobago-1.0.x/example/facelets/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/example/facelets/src/main/webapp/WEB-INF/web.xml?rev=776318&r1=776317&r2=776318&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/example/facelets/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tobago/branches/tobago-1.0.x/example/facelets/src/main/webapp/WEB-INF/web.xml Tue May 19 13:53:24 2009
@@ -36,6 +36,11 @@
   </context-param>
 
   <context-param>
+    <param-name>facelets.RESOURCE_RESOLVER</param-name>
+    <param-value>org.apache.myfaces.tobago.facelets.WebinfResourcesClasspathResourceResolver</param-value>
+  </context-param>
+
+  <context-param>
     <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
     <param-value>.xml</param-value>
   </context-param>