From version 1.1 >
edited by Sergiu Dumitriu
on 2012/07/27
To version < 1.2 >
edited by Sergiu Dumitriu
on 2012/07/27
>
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -12,12 +12,16 @@
12 12  
13 13  = For Developers =
14 14  
15 -== Easier customization of the way object fields are displayed by default ==
15 +== Default custom displayers for Easier customization of the way object fields are displayed ==
16 16  
17 17  While XWiki allowed to specify a custom display for a given field, it was impossible to change the way field types, such as //DateProperty// or //IntegerProperty//, are displayed in general. Now it is possible to define custom displayers at the farm or wiki level, which gives the administrators more power to change the look and feel of the wiki. For example, this allows to use HTML5 input types for dates and numbers, to use custom suggestions for //list of users// fields, or to always add a validation input for all the //password// field types.
18 18  
19 -To use this feature, first you need to compute a //type// name for your property type. This i
19 +To use this feature, first you need to compute a //type// name for your property type. This is obtained from the java class simple name, removing the ##Class## suffix, and lowercasing. For example, for numbers the java class used is ##com.xpn.xwiki.objects.classes.NumberClass##, with the simple name ##NumberClass##, which gives ##number## as the type name. For a database list, we get ##dblist## from ##DBListClass##.
20 20  
21 +Next, there are three places where a default custom displayer.
22 +
23 +If a specific field
24 +
21 21  == Deprecated and Retired projects ==
22 22  
23 23  <description of deprecated and retired projects>

Get Connected