Änderungen von Dokument Rangee Index
Zuletzt geändert von Tobias Wintrich am 2025/06/04 09:20
Von Version 7.37
bearbeitet von Tobias Wintrich
am 2021/09/27 14:50
am 2021/09/27 14:50
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 8.4
bearbeitet von Tobias Wintrich
am 2021/09/27 14:58
am 2021/09/27 14:58
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 15 gelöscht)
- XWiki.WikiMacroClass[0]
- XWiki.WikiMacroParameterClass[0]
- XWiki.WikiMacroParameterClass[1]
- XWiki.WikiMacroParameterClass[2]
- XWiki.WikiMacroParameterClass[3]
- XWiki.WikiMacroParameterClass[4]
- XWiki.WikiMacroParameterClass[5]
- XWiki.WikiMacroParameterClass[6]
- XWiki.WikiMacroParameterClass[7]
- XWiki.WikiMacroParameterClass[8]
- XWiki.WikiMacroParameterClass[9]
- XWiki.WikiMacroParameterClass[10]
- XWiki.WikiMacroParameterClass[11]
- XWiki.WikiMacroParameterClass[12]
- XWiki.WikiMacroParameterClass[13]
- XWiki.WikiMacroParameterClass[14]
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 -Rangee Document Tree1 +Rangee Index - Inhalt
-
... ... @@ -1,4 +1,4 @@ 1 -{{include reference="XWiki.DocumentTreeMacros" 1 +{{include reference="XWiki.DocumentTreeMacros"/}} 2 2 3 3 {{velocity wiki="false"}} 4 4 #if ($xcontext.action == 'get') ... ... @@ -6,24 +6,3 @@ 6 6 #handleDocumentTreeRequest 7 7 #end 8 8 {{/velocity}} 9 - 10 -{{velocity}} 11 -#if ($xcontext.action != 'get') 12 - == Document Hierarchy Tree == 13 - 14 - {{documentTree /}} 15 - 16 - === Compact Document Hierarchy Tree === 17 - 18 - {{documentTree compact="true" /}} 19 - 20 - == Wiki > Space > Page Tree == 21 - 22 - {{documentTree showWikis="true" showSpaces="true" showTranslations="false" showAttachments="false" showChildDocuments="false" /}} 23 - 24 - == Full Entity Tree == 25 - 26 - {{documentTree showWikis="true" showWikiPrettyName="false" showSpaces="true" showDocumentTitle="false" 27 - showChildDocuments="false" showObjects="true" showClassProperties="true" /}} 28 -#end 29 -{{/velocity}}
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -1,28 +1,34 @@ 1 -{{template name="RangeeDocumentTree_macros.vm" /}} 2 - 1 +{{tree links="true"}} 3 3 {{velocity}} 4 -#set ($options = {}) 5 -#foreach ($parameterName in $xcontext.macro.params.parameterNames) 6 - #set ($discard = $options.put($parameterName, $xcontext.macro.params.get($parameterName))) 7 -#end 8 -{{html clean="false"}} 9 -#prepareTreeOptions($options) 10 -#documentTree($options) 11 - 12 -{{/html}} 13 - 14 -{{tree}} 3 +{{html wiki=true}} 4 +<ul> 15 15 #foreach ($child in $doc.getChildren()) 16 - * [[$child]] 17 - #foreach ($subchild in $xwiki.getDocument($child).getChildren()) 18 - ** [[$subchild]] 19 - #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren()) 20 - *** [[$subsubchild]] 6 + <li class="jstree-open"> 7 + [[$child]] 8 + <ul> 9 + #foreach ($subchild in $xwiki.getDocument($child).getChildren()) 10 + <li class="jstree-open"> 11 + [[$subchild]] 12 + <ul> 13 + #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren()) 14 + <li class="jstree-open"> 15 + [[$subsubchild]] 16 + <ul> 17 + #foreach ($subsubsubchild in $xwiki.getDocument($subsubchild).getChildren()) 18 + <li class="jstree-open"> 19 + [[$subsubsubchild]] 20 + </li> 21 + #end 22 + </ul> 23 + </li> 24 + #end 25 + </ul> 26 + </li> 21 21 #end 22 - #end 28 + </ul> 29 + </li> 23 23 #end 24 -{{/tree}} 25 - 26 - 31 +</ul> 32 +{{/html}} 27 27 {{/velocity}} 28 - 34 +{{/tree}} - Makro id
-
... ... @@ -1,1 +1,1 @@ 1 -Rangee DocumentTree1 +RangeeIndex - Makroname
-
... ... @@ -1,1 +1,1 @@ 1 -Rangee Document Tree1 +Rangee Index - Makro-Sichtbarkeit
-
... ... @@ -1,1 +1,1 @@ 1 - Current Wiki1 +Global
- XWiki.WikiMacroParameterClass[0]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -true - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Should the user be able to modify the tree structure, provided she has the necessary rights? - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -readOnly
- XWiki.WikiMacroParameterClass[1]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -false - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to show the wiki nodes or not. This can be used only on the main wiki and if the tree source has been saved with programming rights. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showWikis
- XWiki.WikiMacroParameterClass[2]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -true - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Show the wiki pretty name instead of the wiki id when displaying a wiki node. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showWikiPrettyName
- XWiki.WikiMacroParameterClass[3]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -false - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to show the space nodes or not. The documents are grouped by space if the space nodes are displayed. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showSpaces
- XWiki.WikiMacroParameterClass[4]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -true - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to show the document title instead of the document name when displaying a document node. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showDocumentTitle
- XWiki.WikiMacroParameterClass[5]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -true - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to show the document translations or not. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showTranslations
- XWiki.WikiMacroParameterClass[6]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -true - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to show the document attachments or not. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showAttachments
- XWiki.WikiMacroParameterClass[7]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -false - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to show the document objects or not. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showObjects
- XWiki.WikiMacroParameterClass[8]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -false - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to show the class properties for documents that define classes. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -showClassProperties
- XWiki.WikiMacroParameterClass[9]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -reference - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Specifies which hierarchy to use between documents. Possible values are "reference" (default) and "parentchild". If "reference" is used then the document hierarchy is defined using only the document reference, especially the nested spaces component of the document reference. If "parentchild" is used then the hierarchy is based on the parent/child relationship defined by the "parent" document field from the database. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -hierarchyMode
- XWiki.WikiMacroParameterClass[10]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -The root node id. This is useful if you want to display only the descendants of a given node (which is the specified root). The tree displays the children of the root node on the first level, so the root node is not actually displayed. The entire tree is displayed if the root node is not specified. The format of a node identifier is entityType:entityReference, where the entity type can be for instance wiki, space, document. E.g.: wiki:xwiki, space:xwiki:Main, document:xwiki:Main.WebHome - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -root
- XWiki.WikiMacroParameterClass[11]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -false - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -If you have limited horizontal space available then you should probably set this to true. The effect is that the node icons and the edges that connect them will be hidden. Some special styles will also be applied to ensure the tree takes less horizontal space while keeping the node labels fully visible. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -compact
- XWiki.WikiMacroParameterClass[12]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -true - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Specifies whether the node labels should look and behave as links (anchors). - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -links
- XWiki.WikiMacroParameterClass[13]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -false - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to display a checkbox in front of each tree node to allow the user to select multiple tree nodes. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -checkboxes
- XWiki.WikiMacroParameterClass[14]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -The id of the node to open the tree to. All the ancestors of the specified node, up to the root of the tree, will be opened also. The format of the node id is the one used for the root parameter. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -openTo