Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-540

Make local directive part of Velocity engine core

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Engine
    • None

    Description

      I prefer #local vs velocimacro.context.localscope because
      you can create macro libraries that allow declaring local vars
      without polluting the namespace, but also enables setting global
      variables. See the thread ending on 16.04.2007 "RE: velocimacro.context.localscope"
      with the #springBind example for such a case.

      If #local is not part of the core, it cannot be used for general purpose velocity macro libraries...

      Attachments

        Activity

          People

            Unassigned Unassigned
            chreck Christoph Reck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: