Changes for page Data Model

Last modified by Vincent Massol on 2023/12/01

<
From version < 62.1 >
edited by slauriere
on 2020/01/28
To version < 62.2 >
edited by Vincent Massol
on 2020/02/17
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.slauriere
1 +XWiki.VincentMassol
Content
... ... @@ -21,30 +21,30 @@
21 21  : XWiki currently supports the following kinds of properties (data types):
22 22  
23 23  (((
24 -|= Field Type |= Since Version |= Description |= Screenshots
25 -|//String// | |Allows to store and display one line texts |
26 -|//TextArea// | |Allows to store and display large text fields (text and wysiwyg)|
27 -|//Number// | |Allows to store and display Numbers of type integer,long,float,double|
28 -|//Password// | |Allows to store password fields which can be encrypted or hashed |
29 -|//EMail// |new in 4.2M3 |Allows to store email fields that can be obfuscated at display time |
30 -|//Boolean// | |Allows to store and display boolean values (yes/no or 1/0) which can be displayed as select or checkbox fields |
31 -|[[//Static List//>>.Static List.WebHome]] | |Allows to store and display single-select or multi-select fields that can be displayed as select, checkbox, radio or suggests fields. The possible values of static list fields are configured in the field definition.
32 -|//Database List// | |Allows to store and display single-select or multi-select fields that can be displayed as select, checkbox, radio or suggests fields. The possible values of database list fields are taken from the execution of a query on other XWiki data such as pages or objects. The query is typically expressed in the Hibernate Query Language (see [[XWiki Query Module>>extensions:Extension.Query Module]]) and it can use [[the Velocity script notation>>Documentation.DevGuide.Scripting.WebHome]] (as long as the XWiki class author has [[the required scripting permission>>extensions:Extension.Security Module]]) for including dynamic parameters such as the current page space, the current time, etc.|{{image reference="dbListSuggestInput.png"/}}
33 -|//Database Tree List// | |Same as a Database List field, with the addition that the data can be displayed as a tree, using the Yahoo Javascript Tree library |
34 -|//Page// |new in 4.2M3 |Same as a Database List field, but made to store XWiki page names. |(((
24 +|= Field Type|= Since Version |= Description |= Screenshots
25 +|//String//||Allows to store and display one line texts |
26 +|//TextArea//||Allows to store and display large text fields (text and wysiwyg)|
27 +|//Number//||Allows to store and display Numbers of type integer,long,float,double|
28 +|//Password//||Allows to store password fields which can be encrypted or hashed |
29 +|//EMail//|4.2M3 |Allows to store email fields that can be obfuscated at display time |
30 +|//Boolean//||Allows to store and display boolean values (yes/no or 1/0) which can be displayed as select or checkbox fields |
31 +|[[//Static List//>>.Static List.WebHome]]||Allows to store and display single-select or multi-select fields that can be displayed as select, checkbox, radio or suggests fields. The possible values of static list fields are configured in the field definition.
32 +|[[//Database List//>>.DatabaseList.WebHome]]||Allows to store and display single-select or multi-select fields that can be displayed as select, checkbox, radio or suggests fields. The possible values of database list fields are taken from the execution of a query on other XWiki data such as pages or objects. The query is typically expressed in the Hibernate Query Language (see [[XWiki Query Module>>extensions:Extension.Query Module]]) and it can use [[the Velocity script notation>>Documentation.DevGuide.Scripting.WebHome]] (as long as the XWiki class author has [[the required scripting permission>>extensions:Extension.Security Module]]) for including dynamic parameters such as the current page space, the current time, etc.|{{image reference="dbListSuggestInput.png"/}}
33 +|//Database Tree List//||Same as a Database List field, with the addition that the data can be displayed as a tree, using the Yahoo Javascript Tree library |
34 +|//Page//|4.2M3|Same as a Database List field, but made to store XWiki page names. |(((
35 35  {{image reference="pageSuggestInput.png"/}}
36 36  )))
37 -|//Date// | |Allows to store and display date or datetime values. A date picker is used automatically for this field as shown below. |(((
37 +|//Date//||Allows to store and display date or datetime values. A date picker is used automatically for this field as shown below. |(((
38 38  {{image reference="dateTimePicker.png"/}}
39 39  )))
40 -|//User List// | |Allows to store and display single-select or multi-select users. The field uses a user picker as shown below.|(((
40 +|//User List//||Allows to store and display single-select or multi-select users. The field uses a user picker as shown below.|(((
41 41  {{image reference="userPicker-singleSelection.png"/}}{{image reference="userPicker-multipleSelection.png"/}}{{image reference="userPicker-view.png"/}}
42 42  )))
43 -|//Group List// | |Allows to store and display single-select or multi-select groups. The field uses a user picker as shown below.|(((
43 +|//Group List//||Allows to store and display single-select or multi-select groups. The field uses a user picker as shown below.|(((
44 44  {{image reference="groupPicker-editMultiple.png"/}}
45 45  )))
46 -|//[[Computed Pseudofield]]// |new in 4.2M3|Allows to create a pseudo field for which the display can be configured using a custom displayer and the value retrieved by using a script. It allows to combine other fields together.|
47 -|//Time Zone//|new in 7.3M1|Allow to display and edit Time Zones.|
46 +|//[[Computed Pseudofield]]//|4.2M3|Allows to create a pseudo field for which the display can be configured using a custom displayer and the value retrieved by using a script. It allows to combine other fields together.|
47 +|//Time Zone//|7.3M1|Allow to display and edit Time Zones.|
48 48  
49 49  : Starting with version 4.3M2 you can define [[your own property types>>platform:DevGuide.CreatingNewXClassPropertyTypes]].
50 50  

Get Connected