Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9 M1, 1.8.3
-
Fix Version/s: 1.9 M2
-
Component/s: {Unused} Core
-
Labels:None
-
Tests:Unit
-
Difficulty:Unknown
-
Similar issues:
Description
Add support for the following type of configuration properties:
velocity.tools = listtool = org.apache.velocity.tools.generic.ListTool velocity.tools = numbertool = org.apache.velocity.tools.generic.NumberTool velocity.tools = datetool = org.apache.velocity.tools.generic.DateTool velocity.tools = mathtool = org.apache.velocity.tools.generic.MathTool velocity.tools = sorttool = org.apache.velocity.tools.generic.SortTool velocity.tools = escapetool = org.apache.velocity.tools.generic.EscapeTool
The following will also work:
velocity.tools = listtool = org.apache.velocity.tools.generic.ListTool, numbertool = org.apache.velocity.tools.generic.NumberTool, ...
The Configuration component will just need to have a setTools(Properties properties) method.