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

Make it simpler to override velocity tools from extensions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 8.2-rc-1
    • Component/s: Velocity
    • Labels:
      None
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: