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

passing local variables and velocimacros with #parse()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • Bugzilla Id:
      30107

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcus.sundman@iki.fi Marcus Sundman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: