Deprecated API
Contents
-
ClassDescriptionimpractical useimpractical useimpractical useit will disappear along with deprecated key names in 3.0.
-
FieldDescriptionUse
RuntimeConstants.DS_RESOURCE_LOADER_DATASOURCE_URL
instead.if/how errors are displayed is not the concern of the engine, which should throw in all casesif/how errors are displayed is not the concern of the engine, which should throw in all casesusecontext.scope_control.<scope_name> = true/false
since 2.1
-
MethodDescriptionthe 'encoding' parameter is useless, it should have been set in the database. Use
DataSourceResourceLoader.getReader(ResultSet, String)
UseVelocityEngineUtils.mergeTemplate(VelocityEngine, String, String, Map, Writer)
instead, following Velocity 1.6's corresponding deprecation in its own API.UseVelocityEngineUtils.mergeTemplateIntoString(VelocityEngine, String, String, Map)
instead, following Velocity 1.6's corresponding deprecation in its own API.logger is now set by default to the namespace logger "velocity.rendering".