Changes for page Main

Last modified by Administrator on 2023/03/27 10:53

From version 5.1
edited by Administrator
on 2020/12/29 00:17
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/12.10.2]
To version 3.1
edited by Administrator
on 2020/01/07 18:45
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/11.10.2]

Summary

Details

Page properties
Content
... ... @@ -97,7 +97,6 @@
97 97   #set ($fieldURL = $doc.getURL('edit', $escapetool.url({
98 98   'xpage': 'plain',
99 99   'sheet': 'AppWithinMinutes.ClassEditSheet',
100 - 'template': 'AppWithinMinutes.ClassTemplate',
101 101   'field': $formFieldDoc.fullName,
102 102   'xeditmode': 'text'
103 103   })))
... ... @@ -388,7 +388,6 @@
388 388   * Display the edit class form.
389 389   *#
390 390  #macro (displayEditForm)
391 - #set ($discard = $xwiki.jsfx.use('js/scriptaculous/effects.js'))
392 392   #set ($discard = $xwiki.jsfx.use('js/scriptaculous/dragdrop.js'))
393 393   #set ($discard = $xwiki.jsx.use('AppWithinMinutes.ClassEditSheet'))
394 394   #set ($discard = $xwiki.ssx.use('AppWithinMinutes.ClassEditSheet'))
... ... @@ -439,7 +439,7 @@
439 439   #try()
440 440   #set ($discard = $copyAsJob.join())
441 441   #set ($copyAsJobStatus = $services.job.getJobStatus($copyAsJob.request.id))
442 - #set ($errorMessage = $copyAsJobStatus.logTail.getFirstLogEvent('ERROR').toString())
440 + #set ($errorMessage = $copyAsJobStatus.logTail.getFirstLogEvents('ERROR').toString())
443 443   #end
444 444   #end
445 445  #end
... ... @@ -619,10 +619,6 @@
619 619   #set($discard = $sheetDoc.setParent($doc.documentReference.name))
620 620   #set($discard = $sheetDoc.setContent($doc.getRenderedContent($sheetGeneratorDoc.content,
621 621   $sheetGeneratorDoc.syntax.toIdString(), 'plain/1.0')))
622 - ## We assume for now that the output produced by the sheet generator uses the same syntax as the code of the sheet
623 - ## generator. We have to set the syntax because the default wiki syntax (used when creating new wiki pages) could
624 - ## be different than the one used by the sheet generator.
625 - #set($discard = $sheetDoc.setSyntax($sheetGeneratorDoc.syntax))
626 626   #set($discard = $sheetDoc.setHidden(true))
627 627   #set($discard = $sheetDoc.save($services.localization.render('platform.appwithinminutes.classEditorSheetSaveComment'),
628 628   $minorEdit))
... ... @@ -648,7 +648,6 @@
648 648   #set($translationsGeneratorDoc = $xwiki.getDocument('AppWithinMinutes.ClassTranslationsGenerator'))
649 649   #set($discard = $translationsDoc.setContent($doc.getRenderedContent($translationsGeneratorDoc.content,
650 650   $translationsGeneratorDoc.syntax.toIdString(), 'plain/1.0')))
651 - #set($discard = $translationsDoc.setSyntaxId('plain/1.0'))
652 652   #set($discard = $translationsDoc.setHidden(true))
653 653   #set($discard = $translationsDoc.save(
654 654   $services.localization.render('platform.appwithinminutes.classEditorTranslationsSaveComment'),