<
From version < 31.1 >
edited by Vincent Massol
on 2015/08/07
To version < 32.1 >
edited by Vincent Massol
on 2015/08/07
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -111,6 +111,35 @@
111 111  )))
112 112  * A new ##XWiki.EntityReferenceTree## JS class has been added, which partially mimics the Java ##EntityReferenceTree## Class. It's still missing features though as it was introduced mostly to make it easier to manipulate a serialized Java ##EntityReferenceTree##.
113 113  
114 +== Updated Document Tree Macro ==
115 +
116 +The [[Document Tree Macro>>extensions:Extension.Document Tree Macro]] now supports Nested Documents and Nested Spaces modes. Specifically, the following changes have been made:
117 +* removed the ##showSpaceAsDocument## parameter (was introduced recently in 7.2M1)
118 +* deprecated the ##showChildDocuments## parameter
119 +* added the ##hierarchyMode## parameter with two supported values: ##reference## (default) and ##parentchild##
120 +
121 +As a result, you can use the document tree macro like this:
122 +* Nested Document Tree(((
123 +{{code language="none"}}
124 +{{documentTree/}}
125 +{{/code}
126 +)))
127 +* Nested Space + Page Tree(((
128 +{{code language="none"}}
129 +{{documentTree showSpaces="true" /}}
130 +{{/code}
131 +)))
132 +* Parent-Child Document Tree(((
133 +{{code language="none"}}
134 +{{documentTree hierarchyMode="parentchild" /}}
135 +{{/code}
136 +)))
137 +* Old Document Index Tree (i.e. Parent-Child mixed with space grouping)(((
138 +{{code language="none"}}
139 +{{documentTree hierarchyMode="parentchild" showSpaces="true" /}}
140 +{{/code}
141 +)))
142 +
114 114  == Miscellaneous ==
115 115  
116 116  * Custom displayers are now executed with the Rights of the user who wrote them (i.e. author of the class document or content author of the displayer document), and not the Rights of the user who wrote the script that uses them (i.e. current context document's content author). See [[XWIKI-12306>>http://jira.xwiki.org/browse/XWIKI-12306]] for more details.
... ... @@ -133,7 +133,7 @@
133 133  {{/code}}
134 134  )))
135 135  * Better support of non-DOCUMENT ##EntityReferences## in ##DocumentReferenceConverter##. It now behaves like ##XWiki#getDocument(EntityReference)##
136 -* The [[Document Tree Macro>>extensions:Extension.Document Tree Macro]] now supports Nested Documents and Nested Spaces modes.
165 +
137 137  == Deprecated and Retired projects ==
138 138  
139 139  * The [[OSCache-based Cache Extension>>extensions:Extension.Cache OSCache]] has been [[moved to ##xwiki-contrib##>>https://github.com/xwiki-contrib/xwiki-platform-cache-oscache]] since we've been using the Infinispan implementation for a while now and the XWiki Core developers don't intend to continue supporting the OSCache-based one (it can be maintained by the Community, by whoever's interested in supporting it).

Get Connected