Changes for page Livetable Macro
Last modified by Manuel Leduc on 2024/01/04 15:56
Change comment:
Move explanation about usage of terminal pages in examples
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. rfitsyk1 +xwiki:XWiki.VincentMassol
- EXOExtensionCode.ExtensionClass[0]
-
- Bundled With
-
... ... @@ -1,1 +1,1 @@ 1 - enterprise1 +XWiki Standard
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -125,6 +125,10 @@ 125 125 126 126 == Examples == 127 127 128 +{{info}} 129 +In all examples below, we are using [[references to "Terminal" wiki pages>>xwiki:Documentation.UserGuide.Features.ContentOrganization.WebHome||anchor="HTerminology"]]. By default when you [[create new pages in XWiki they are created a Nested Pages>>xwiki:Documentation.UserGuide.Features.DocumentLifecycle.WebHome||anchor="HByusingtheAddPageaction"]] and their references ends with ##.WebHome##. Thus adapt the examples accordingly when trying to use them on your own use cases. 130 +{{/info}} 131 + 128 128 === The user directory === 129 129 130 130 {{code language="velocity"}} ... ... @@ -212,12 +212,6 @@ 212 212 {{/velocity}} 213 213 {{/code}} 214 214 215 -{{info}} 216 -The class page (i.e. ##Organization.Code.OrganizationClass##) must be a //terminal// page. Otherwise, add the ##.WebHome## suffix. 217 -A terminal page is a wiki page that cannot have children and it is usually created by applications and scripts. Terminal pages don't have a "Preferences" document. 218 -{{/info}} 219 - 220 - 221 221 === All Attachments === 222 222 223 223 The livetable rows can also be created using a Javascript callback function. For example, the Attachments tab on [[Document Index>>extensions:Main.AllDocs]]: ... ... @@ -333,7 +333,7 @@ 333 333 334 334 === Generate new JSON === 335 335 336 -Space.MyJSON Page: 334 +##Space.MyJSON Page##: 337 337 338 338 {{code}} 339 339 {{velocity wiki="false"}} ... ... @@ -537,5 +537,4 @@ 537 537 538 538 (Add //&sql=1// at previous URL to see query computed and parameters) 539 539 540 - 541 541 {{putFootnotes/}}