Changes for page Multiselect custom display
Last modified by Thomas Mortagne on 2021/03/17 21:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. gdelhumeau1 +xwiki:XWiki.lucaa
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -2,11 +2,8 @@ 2 2 3 3 == Usage == 4 4 5 -{{warning}}Please note that this extension will only work for properties which have explicit hibernate queries set. Properties configured using the XWiki class name, id field name and value field name settings cannot be enhanced using this extension (actually, suggest won't work at all on such properties). 5 +{{warning}}Please note that this extension will only work for properties which have explicit hibernate queries set. Properties configured using the XWiki class name, id field name and value field name settings cannot be enhanced using this extension (actually, suggest won't work at all on such properties).{{/warning}} 6 6 7 -Note: [[because of a bug in XWiki < 6.4.5>>http://jira.xwiki.org/browse/XWIKI-12057]], the hibernate query must be tipped with lower case characters only. Eg: ##"select .. from"## instead of ##"SELECT ... FROM"##. 8 -{{/warning}} 9 - 10 10 To activate it, you must edit the XClass and set, for the target property, the fields //Use suggest// and //Multiple select// to true, //Display Type// to input and the field //Custom display// to: 11 11 12 12 {{code}}