Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-21

Make 2.0 scripting macros (groovy, velocity, etc.) on the same page share the variables

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Duplicate
    • Major
    • None
    • Rendering in the platform
    • None
    • None

    Description

      the goals is to be able to write:

      {{groovy}}
      somevar = "some string to print in velocity"
      {{/groovy}}
      
      {{velocity}}
      the string form groovy is: "${somevar}"
      {{/velocity}}
      

      and obtain:

      the string from groovy is: some string to print in velocity
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: