From version 1.1 >
edited by superadmin
on 2018/07/31 17:43
To version < 3.1
edited by Richard Johnson
on 2020/08/21 14:41
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/12.6.1]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.superadmin
1 +xwiki:XWiki.raj
Content
... ... @@ -1,3 +1,5 @@
1 +{{include reference="AppWithinMinutes.VelocityMacros" /}}
2 +
1 1  {{velocity output="false"}}
2 2  ## Special characters that need to be escaped in the key.
3 3  #set ($keySpecialCharsPattern = $regextool.compile('([=: \\])'))
... ... @@ -5,6 +5,8 @@
5 5  #macro (map $key $value)
6 6  $keySpecialCharsPattern.matcher($key).replaceAll('\\$1')=$value
7 7  #end
10 +
11 +#getAppTitle
8 8  {{/velocity}}
9 9  
10 10  {{velocity wiki="false"}}
... ... @@ -20,8 +20,13 @@
20 20  #end
21 21  #end
22 22  
27 +$escapetool.h Sheet keys
28 +#set ($appName = $doc.documentReference.name.replaceAll('Class', '').toLowerCase())
29 +#map("${appName}.sheet.description" "This page controls how $appTitle pages are displayed in both view and edit modes.")
30 +#map("${appName}.sheet.noObject" "The current page doesn't have the expected $appTitle object.")
31 +#map("${appName}.sheet.noFields" "The $appTitle application doesn't have any fields to display.")
32 +
23 23  $escapetool.h Live table generic keys
24 -#set ($appName = $doc.name.replaceAll('Class', '').toLowerCase())
25 25  #set ($prefix = "${appName}.livetable.")
26 26  #set ($liveTableGenericKeys = {
27 27   'doc.title': 'liveTableEditorDocTitleColumnName',
... ... @@ -51,7 +51,7 @@
51 51  #end
52 52  
53 53  $escapetool.h Other keys
54 -#map("${appName}.entry.name" $stringtool.removeEnd($doc.name, 'Class'))
63 +#map("${appName}.entry.name" $appTitle)
55 55  
56 56  $escapetool.h Deprecated keys
57 57  #map("${appName}.dataSpace.title" 'Data')

Need help?

If you need help with XWiki you can contact: