Author: gvanmatre
Date: Thu Sep 1 22:18:57 2005
New Revision: 266288
URL: http://svn.apache.org/viewcvs?rev=266288&view=rev
Log:
Added automatic reloading of the Clay configuration files if modified.
Modified:
struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml
Modified: struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml
URL:
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml?rev=266288&r1=266287&r2=266288&view=diff
==============================================================================
--- struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml (original)
+++ struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml Thu Sep 1
22:18:57 2005
@@ -34,6 +34,12 @@
<!-- This command is only needed for full clay html views with myfaces
-->
<command
className="org.apache.shale.clay.faces.ClayViewHandlerCommand" />
+
+ <!-- This filter command wakes up the watchdog monitoring the Clay
configuration files for change. -->
+ <command
className="org.apache.shale.clay.config.beans.ConfigDefinitionsWatchdogFilter"
+ includes="\S*\.faces,\S*\.html,/index\.jsp"/>
+
+
<!-- Disallow direct access to JSP and JSFP resources -->
<command
className="org.apache.shale.application.ContextRelativePathFilter"
includes="\S*\.faces,\S*\.html,\S*\.gif,\S*\.jpg,/index\.jsp"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]