Changes for page EditForm

Last modified by teamwire004 on 2024/08/06 06:47

From version 1.1
edited by teamwire-admin
on 2020/08/26 13:09
Change comment: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/11.10.8]
To version 3.1
edited by teamwire004
on 2024/08/06 06:47
Change comment: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/15.10.11]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.teamwire-admin
1 +XWiki.teamwire004
Content
... ... @@ -1,15 +1,12 @@
1 +{{template name="display_macros.vm" /}}
2 +
1 1  {{include reference="AnnotationCode.Macros" /}}
2 2  
3 -{{velocity output="false"}}
4 -#if ("$!{request.reference}" != '')
5 - #set($annotationReference = $services.model.resolveDocument($request.reference))
6 -#elseif("$!{request.wiki}" != '' && "$!{request.space}" != '' && "$!{request.page}" != '')
7 - #set($annotationReference = $services.model.createDocumentReference("$!{request.wiki}", "$!{request.space}", "$!{request.page}"))
8 -#end
9 -{{/velocity}}
10 -
11 11  {{velocity filter="none"}}
12 12  {{html clean="false"}}
7 +## The annotation edit form is loaded asynchronously so we need to send back also the required JavaScript and CSS
8 +## resources (besides the form HTML).
9 +#initRequiredSkinExtensions()
13 13  #displayEditBoxFromReference("$!{request.id}", $annotationReference)
14 14  {{/html}}
15 15  {{/velocity}}