Velocity
  1. Velocity
  2. VELOCITY-281

passing local variables and velocimacros with #parse()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.4
    • Fix Version/s: 2.x
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      Let's say I have "velocimacro.permissions.allow.inline.local.scope = true".
      It would still be nice to be able to pass variables and velocitymacros to a
      template imported by #parse(). E.g., #parse("foo.vm" $myvar #mymacro) could make
      $myvar and #mymacro accessible to "foo.vm" when it's parsed.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcus Sundman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development