Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13614

Allow setting a binding in Velocity macro and access it a following JSR223 script macro

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2.1
    • Fix Version/s: 8.3-milestone-1
    • Component/s: Rendering
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      It's current possible to do things like

      {{groovy}}
      myvar = "toto"
      {{/groovy}}
      
      {{velocity}}
      $myvar
      {{/velocity}}
      

      but the opposite is not possible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: