Changes for page Default Class Sheet

Last modified by Thomas Coelho (local) on 2023/08/09 10:59

From version 3.1
edited by Thomas Coelho (local)
on 2023/02/24 19:45
Change comment: Install extension [org.xwiki.platform:xwiki-platform-xclass-ui/14.10.3]
To version 5.1
edited by Thomas Coelho (local)
on 2023/08/09 10:59
Change comment: Install extension [org.xwiki.platform:xwiki-platform-xclass-ui/15.5]

Summary

Details

Page properties
Content
... ... @@ -30,6 +30,7 @@
30 30   ## inline action.
31 31   #set ($editAction = $xwiki.getDocument($request.template).getDefaultEditMode())
32 32   $response.sendRedirect($xwiki.getURL($targetDocRef, $editAction, $escapetool.url({
33 + 'form_token': $request.form_token,
33 33   'template': $request.template,
34 34   'parent': $request.parent,
35 35   'title': $request.docName
... ... @@ -45,7 +45,7 @@
45 45  ## sheet output. Class authors can put the description of the class in the class document content.
46 46  #set($classSheetReference = $services.model.createDocumentReference($doc.wiki, 'XWiki', 'ClassSheet'))
47 47  #if($services.sheet.getDocumentSheets($doc).contains($classSheetReference))
48 - {{include reference="" /}}
49 + {{include reference="" author="target"/}}
49 49  #end
50 50  {{/velocity}}
51 51