Changes for page EditForm
Last modified by teamwire004 on 2024/08/06 06:47
From version 2.1
edited by teamwire004
on 2024/01/16 09:32
on 2024/01/16 09:32
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/14.10.13]
To version 1.1
edited by teamwire-admin
on 2020/08/26 13:09
on 2020/08/26 13:09
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/11.10.8]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.teamwire 0041 +XWiki.teamwire-admin - Content
-
... ... @@ -1,14 +3,15 @@ 1 -{{template name="display_macros.vm" /}} 2 - 3 3 {{include reference="AnnotationCode.Macros" /}} 4 4 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 + 5 5 {{velocity filter="none"}} 6 6 {{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() 10 10 #displayEditBoxFromReference("$!{request.id}", $annotationReference) 11 -#getRequiredSkinExtensions($requiredSkinExtensions) 12 -#set ($discard = $response.setHeader('X-XWIKI-HTML-HEAD', $requiredSkinExtensions)) 13 13 {{/html}} 14 14 {{/velocity}}