Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. VincentMassol1 +XWiki.LudovicDubost - Content
-
... ... @@ -15,23 +15,26 @@ 15 15 ; Properties 16 16 : Properties are the characteristics that an object can have. In a class definition, the properties define the data fields that each unique instance of the class can have values for. Properties have displayers which control how the property value is displayed in view or edit mode. Some displayers use advanced pickers to help you input a valid property value. 17 17 : XWiki currently supports the following kinds of properties (data types):((( 18 -* //Number// 19 -* //String// 20 -* //TextArea// 21 -* //Password// 22 -* //EMail// (new in 4.2M3) 23 -* //Boolean// 24 -* //Static List// 25 -* //Database List// 26 -* //Database Tree List// 27 -* //Document List// (new in 4.2M3) 28 -* //Date// 29 -{{image reference="datePicker.png"/}} 30 -* //User List// 31 -{{image reference="userPicker-editSingle-objectEditor.png"/}} {{image reference="userPicker-editMultiple.png"/}} {{image reference="userPicker-viewMultiple.png"/}} 32 -* //Group List// 33 -{{image reference="groupPicker-editMultiple.png"/}} 34 -* //Computed pseudofield// (new in 4.2M3) 18 + 19 +|= Field Type |= Since version |= Description |= Screenshots 20 +| //String// | | Allows to store and display one line texts | 21 +| //TextArea// | | Allows to store and display large text fields (text and wysiwyg)| 22 +| //Number// | | Allows to store and display Numbers of type integer,long,float,double| 23 +| //Password// | | Allows to store password fields which can be encrypted or hashed | 24 +| //EMail// | new in 4.2M3 | Allows to store email fields that can be obfuscated at display time | 25 +| //Boolean// | | Allows to store and display boolean values (yes/no or 1/0) which can be displayed as select or checkbox fields | 26 +| //Static 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 static list fields are configured in the field definition. 27 +| //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 static list fields are taken from a query from other XWiki data.| 28 +| //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 | 29 +| //Document List// | new in 4.2M3 | Same as a String field, but made to store XWiki page names. | 30 +| //Date// | | Allows to store and display date or datetime values. A date picker is used automatically for this field as shown below. |((( 31 +{{image reference="datePicker.png"/}}))) 32 +| //User List// | | Allows to store and display single-select or multi-select users. The field uses a user picker as shown below.|((( 33 +{{image reference="userPicker-editSingle-objectEditor.png"/}} {{image reference="userPicker-editMultiple.png"/}} {{image reference="userPicker-viewMultiple.png"/}} ))) 34 +| //Group List// | | Allows to store and display single-select or multi-select groups. The field uses a user picker as shown below.|((( 35 +{{image reference="groupPicker-editMultiple.png"/}}))) 36 +| //Computed pseudofield// | new in 4.2M3 |Allows to create a pseudo field for which the display can be configured using a script. It allows to combine other fields together.| 37 + 35 35 ))) 36 36 : Starting with version 4.3M2 you can define [[your own property types>>CreatingNewXClassPropertyTypes]]. 37 37