Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1419

Provide a method to build query strings in Velocity

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Duplicate
    • Minor
    • None
    • 10.4-rc-1
    • Velocity
    • None
    • Unknown

    Description

      It's hard to handle query string in Velocity without having a proper tool. Looking in the code I see a lot of examples like:

      $doc.getURL('edit', "$!{languageparams}#if ($languageparams != '')&#{end}editor=wiki")
      

      There is already a $urltool that could be improved with new methods.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              acotiuga Alex Cotiugă
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: