You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2006/02/16 20:01:06 UTC
svn commit: r378340 -
/myfaces/tomahawk/trunk/examples/tiles/src/main/webapp/WEB-INF/web.xml
Author: matzew
Date: Thu Feb 16 11:01:03 2006
New Revision: 378340
URL: http://svn.apache.org/viewcvs?rev=378340&view=rev
Log:
tiles config added. thx to bill dudney for pointing it out
Modified:
myfaces/tomahawk/trunk/examples/tiles/src/main/webapp/WEB-INF/web.xml
Modified: myfaces/tomahawk/trunk/examples/tiles/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/examples/tiles/src/main/webapp/WEB-INF/web.xml?rev=378340&r1=378339&r2=378340&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/tiles/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tomahawk/trunk/examples/tiles/src/main/webapp/WEB-INF/web.xml Thu Feb 16 11:01:03 2006
@@ -68,6 +68,19 @@
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
+
+ <!-- Tiles ViewHandler config file -->
+
+ <context-param>
+ <param-name>tiles-definitions</param-name>
+ <param-value>/WEB-INF/tiles.xml</param-value>
+ <description>
+ Tiles configuration
+ definition files and a listener need to be defined.
+ the listener will initialize JspTilesViewHandlerImpl with tiles definitions.
+ </description>
+ </context-param>
+
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>