Details
-
Improvement
-
Resolution: Fixed
-
Major
-
1.9 M1, 1.8.3
-
None
-
Unit
-
Unknown
-
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.