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

passing local variables and velocimacros with #parse()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.4
    • None
    • Engine
    • None
    • Operating System: other
      Platform: Other
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: