Changes for page ClassTranslationsGenerator
Last modified by Richard Johnson on 2020/08/21 14:41
edited by Richard Johnson
on 2020/08/21 14:41
on 2020/08/21 14:41
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/10.6.1]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.ra j1 +xwiki:XWiki.superadmin - Content
-
... ... @@ -1,5 +3,3 @@ 1 -{{include reference="AppWithinMinutes.VelocityMacros" /}} 2 - 3 3 {{velocity output="false"}} 4 4 ## Special characters that need to be escaped in the key. 5 5 #set ($keySpecialCharsPattern = $regextool.compile('([=: \\])')) ... ... @@ -7,8 +7,6 @@ 7 7 #macro (map $key $value) 8 8 $keySpecialCharsPattern.matcher($key).replaceAll('\\$1')=$value 9 9 #end 10 - 11 -#getAppTitle 12 12 {{/velocity}} 13 13 14 14 {{velocity wiki="false"}} ... ... @@ -24,13 +24,8 @@ 24 24 #end 25 25 #end 26 26 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 - 33 33 $escapetool.h Live table generic keys 24 +#set ($appName = $doc.name.replaceAll('Class', '').toLowerCase()) 34 34 #set ($prefix = "${appName}.livetable.") 35 35 #set ($liveTableGenericKeys = { 36 36 'doc.title': 'liveTableEditorDocTitleColumnName', ... ... @@ -60,7 +60,7 @@ 60 60 #end 61 61 62 62 $escapetool.h Other keys 63 -#map("${appName}.entry.name" $ appTitle)54 +#map("${appName}.entry.name" $stringtool.removeEnd($doc.name, 'Class')) 64 64 65 65 $escapetool.h Deprecated keys 66 66 #map("${appName}.dataSpace.title" 'Data')