Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3790

Add support for property values in configuration files

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: