<
From version < 56.13 >
edited by Jean SIMARD
on 2015/04/01
To version < 56.14 >
edited by Jean SIMARD
on 2015/04/01
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -86,7 +86,7 @@
86 86  There is a possibility to give some custom query string parameters (see [[Custom Parameters>>||anchor=HCustomParameters]]). ##objectPolicy## parameter is a configuration parameter that will decide what to do with these custom parameters:
87 87  * ##update##: each custom parameter will update property in an existing objects of the current page. If the custom parameters refers to a property or an object that doesn't exist, it simply ignore it.
88 88  {{comment}}
89 -* ##updateOrCreate##: each custom parameter will update property in an existing objects of the current page. If the custom parameters refers to a property that doesn't exist, it will ignore it. If the custom parameter refers to an object that doesn't exist, it will create it only if the index is "one more" than the already existing number of objects of this type; for example, if there is already 2 objects ##XWiki.XWikiRights## in the page, ##XWiki.XWikiRights_0_
89 +* ##updateOrCreate##: each custom parameter will update property in an existing objects of the current page. If the custom parameters refers to a property that doesn't exist, it will ignore it. If the custom parameter refers to an object that doesn't exist, it will create it only if the index is "one more" than the already existing number of objects of this type; for example, if there is already 2 objects ##XWiki.XWikiRights## in the page, ##XWiki.XWikiRights_0_levels## and ##XWiki.XWikiRights_1_levels## will update these existing objects. ##XWiki.XWikiRights_2_levels## and ##XWiki.XWikiRights_3_levels## will create 2 new objects. ##XWiki.XWikiRights_42_levels## will be ignored.
90 90  {{/comment}}
91 91  
92 92  === Parameter: ##parent## ===
... ... @@ -101,6 +101,13 @@
101 101  === Parameter: ##title## ===
102 102  Allows you to modify the title of the page.
103 103  
104 +=== Custom Parameters ===
105 +Custom parameters have the format ##<Space>.<ClassPage>_<number>_<propertyname>## (e.g. ##XWiki.XWikiUsers_0_password## or ##XWiki.WatchListClass_3_interval##):
106 +* ##<Space>## must refer to an existing space of the wiki
107 +* ##<ClassPage>## must refer to a class
108 +* ##<number>## is a positive number
109 +* ##<propertyname>## is a name of a property of the class ##<Space>.<ClassPage>##
110 +
104 104  == Action: ##get## ==
105 105  
106 106  == ##get## Action ==

Get Connected