Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1006

Make it simpler to override velocity tools from extensions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 8.2-rc-1
    • 7.4
    • Velocity
    • None
    • N/A
    • N/A

    Description

      Right now we can only pass a String and let the DefaultVelocityContextFactory instantiate the class. It would be nice to also support already instantiated tools since this allows to have tools implemented as components or to inject components into tools.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: