You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/11/25 05:49:06 UTC
svn commit: r883977 -
/incubator/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java
Author: sabob
Date: Wed Nov 25 04:49:05 2009
New Revision: 883977
URL: http://svn.apache.org/viewvc?rev=883977&view=rev
Log:
add nullcheck directory. CLK-597
Modified:
incubator/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java
Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java?rev=883977&r1=883976&r2=883977&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java Wed Nov 25 04:49:05 2009
@@ -526,6 +526,8 @@
velProps.put(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS,
LogChuteAdapter.class.getName());
+ velProps.put("directive.if.tostring.nullcheck", "false");
+
// Use 'macro.vm' exists set it as default VM library
ServletContext servletContext = configService.getServletContext();
URL macroURL = servletContext.getResource("/" + MACRO_VM_FILE_NAME);