Author: nbubna
Date: Thu Mar 12 21:32:43 2009
New Revision: 753025
URL: http://svn.apache.org/viewvc?rev=753025&view=rev
Log:
add commented examples of scope provision properties
Modified:
velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/defaults/velocity.properties
Modified:
velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/defaults/velocity.properties
URL:
http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/defaults/velocity.properties?rev=753025&r1=753024&r2=753025&view=diff
==============================================================================
---
velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/defaults/velocity.properties
(original)
+++
velocity/engine/branches/2.0_Exp/src/java/org/apache/velocity/runtime/defaults/velocity.properties
Thu Mar 12 21:32:43 2009
@@ -80,6 +80,22 @@
directive.parse.max.depth = 10
# ----------------------------------------------------------------------------
+# S C O P E P R O P E R T I E S
+# ----------------------------------------------------------------------------
+# These are the properties that govern whether or not a Scope object
+# is automatically provided for each of the given scopes to serve as a
+# scope-safe reference namespace and "label" for #break calls. The default
+# for all of these is true. Note that <bodymacroname> should be replaced by
+# name of macros that take bodies for which you want to suppress the scope.
+# ----------------------------------------------------------------------------
+# template.provide.scope.control = false
+# evaluate.provide.scope.control = false
+# foreach.provide.scope.control = false
+# macro.provide.scope.control = false
+# define.provide.scope.control = false
+# <bodymacroname>.provide.scope.control = false
+
+# ----------------------------------------------------------------------------
# T E M P L A T E L O A D E R S
# ----------------------------------------------------------------------------
#