Last modified by Thomas Mortagne on 2023/10/13

<
From version < 11.1 >
edited by Vincent Massol
on 2014/09/17
To version < 12.1 >
edited by Clemens Robbenhaar
on 2014/09/17
>
Change comment: new $urltool

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.ClemensRobbenhaar
Content
... ... @@ -70,6 +70,11 @@
70 70  {{/velocity}}
71 71  {{/code}}
72 72  
73 +== New Velocity tool $urltool ==
74 +
75 +A new tool has been added with one method to parse query string from the URL ##$urltool.parseQuery(String)##. The value returned by this is method is a ##Map<String, List<String>>## which maps parameter names to (possibly multiple) values, and can be passed e.g. directly into ##$escapetool.url(Map<String, ?>)## to convert it back to a string.
76 +This is useful e.g. in cases where one want to pass a complete query string around between requests, as it happend for the PDF export; the ##$urltool## allows for a sane deserialization of the value passed around.
77 +
73 73  == Deprecated and Retired projects ==
74 74  
75 75  <description of deprecated and retired projects>

Get Connected