Changes for page ClassTranslationsGenerator
Last modified by Richard Johnson on 2020/08/21 14:41
edited by Richard Johnson
on 2019/03/30 13:46
on 2019/03/30 13:46
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"}} ... ... @@ -25,7 +25,7 @@ 25 25 #end 26 26 27 27 $escapetool.h Live table generic keys 28 -#set ($appName = $doc. documentReference.name.replaceAll('Class', '').toLowerCase())24 +#set ($appName = $doc.name.replaceAll('Class', '').toLowerCase()) 29 29 #set ($prefix = "${appName}.livetable.") 30 30 #set ($liveTableGenericKeys = { 31 31 'doc.title': 'liveTableEditorDocTitleColumnName', ... ... @@ -55,7 +55,7 @@ 55 55 #end 56 56 57 57 $escapetool.h Other keys 58 -#map("${appName}.entry.name" $ appTitle)54 +#map("${appName}.entry.name" $stringtool.removeEnd($doc.name, 'Class')) 59 59 60 60 $escapetool.h Deprecated keys 61 61 #map("${appName}.dataSpace.title" 'Data')