<
Depuis la version < 4.1
modifié par superadmin
sur 2021/12/12 21:57
À la version < 2.1 >
modifié par Paul Libbrecht (admin)
sur 2016/07/26 22:02
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui-8.2]

Résumé

Détails

Icon Propriétés de la Page
Auteur du document
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +XWiki.adminPolx
Contenu
... ... @@ -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"}}
... ... @@ -16,7 +16,7 @@
16 16  #set ($prefix = "${doc.fullName}_")
17 17  #foreach ($property in $doc.getxWikiClass().properties)
18 18  #map("$prefix$property.name" $property.prettyName)
19 -#if ($property.type == 'StaticListClass')
15 +#if ($property.type.endsWith('ListClass'))
20 20  ## Generate translations for the list values.
21 21  #foreach ($entry in $property.mapValues.entrySet())
22 22  #map("$prefix${property.name}_$entry.key" $entry.value.value)
... ... @@ -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',
... ... @@ -37,7 +37,6 @@
37 37   'doc.name': 'liveTableEditorDocNameColumnName',
38 38   'doc.space': 'liveTableEditorDocSpaceColumnName',
39 39   'doc.fullname': 'liveTableEditorDocFullNameColumnName',
40 - 'doc.location': 'liveTableEditorDocLocationColumnName',
41 41   'doc.author': 'liveTableEditorDocAuthorColumnName',
42 42   'doc.creator': 'liveTableEditorDocCreatorColumnName',
43 43   'doc.date': 'liveTableEditorDocDateColumnName',
... ... @@ -59,9 +59,5 @@
59 59  #map("$prefix$property.name" $property.prettyName)
60 60  #end
61 61  
62 -$escapetool.h Other keys
63 -#map("${appName}.entry.name" $appTitle)
64 -
65 -$escapetool.h Deprecated keys
66 66  #map("${appName}.dataSpace.title" 'Data')
67 67  {{/velocity}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions