Changes for page Release Notes for XWiki 6.3-milestone-1
Last modified by Thomas Mortagne on 2023/10/13
Change comment:
new $urltool
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. VincentMassol1 +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>