geirm 00/12/10 11:36:24
Modified: src/java/org/apache/velocity/runtime RuntimeConstants.java
Log:
Moved VM property strings into here so they are in one place for clarity.
Revision Changes Path
1.7 +17 -0
jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java
Index: RuntimeConstants.java
===================================================================
RCS file:
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RuntimeConstants.java 2000/11/28 04:35:38 1.6
+++ RuntimeConstants.java 2000/12/10 19:36:24 1.7
@@ -109,4 +109,21 @@
*/
public static String INTERPOLATE_STRINGLITERALS = "stringliterals.interpolate";
+ /** name of global Velocimacro library template */
+ public static final String VM_GLOBAL_LIBRARY = "velocimacro.library.global";
+
+ /** name of local Velocimacro library template */
+ public static final String VM_LOCAL_LIBRARY = "velocimacro.library.local";
+
+ /** boolean (true/false) default true : allow inline (in-template) macro
definitions */
+ public static final String VM_PERM_ALLOW_INLINE =
"velocimacro.permissions.allowInline";
+
+ /** boolean (true/false) default false : allow inline (in-template) macro
definitions to replace existing */
+ public final static String VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL =
"velocimacro.permissions.allowInlineToReplaceGlobal";
+
+ /** switch for forcing inline macros to be local : default false */
+ public final static String VM_PERM_INLINE_LOCAL =
"velocimacro.permissions.allowInlineLocalScope";
+
+ /** switch for VM blather : default true */
+ public final static String VM_MESSAGES_ON = "velocimacro.messages.on";
}