Changes for page Suggest Widget

Last modified by Marius Dumitru Florea on 2022/04/19

<
From version < 79.1 >
edited by Marius Dumitru Florea
on 2019/06/21
To version < 81.1 >
edited by Marius Dumitru Florea
on 2019/06/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -108,7 +108,7 @@
108 108  {{/velocity}}
109 109  {{/code}}
110 110  
111 -{{image reference="pagePicker.jpg"/}}
111 +{{image reference="pagePicker.png"/}}
112 112  
113 113  Custom configuration parameters:
114 114  
... ... @@ -205,6 +205,24 @@
205 205  
206 206  {{image reference="propertyValuePicker.png"/}}
207 207  
208 +If you don't have a property to display then you can also enable this suggester by calling the generic ##suggestInput## macro like this:
209 +
210 +{{code language="none"}}
211 +{{velocity}}
212 +{{html}}
213 +#set ($discard = $xwiki.jsfx.use('uicomponents/suggest/suggestPropertyValues.js',
214 + {'forceSkinAction': true, 'language': $xcontext.locale}))
215 +#set ($suggestParams = {
216 + 'class': 'suggest-propertyValues',
217 + 'placeholder': 'Select the movie director',
218 + 'data-className': 'Help.Applications.Movies.Code.MoviesClass',
219 + 'data-propertyName': 'databaseList1'
220 +})
221 +#suggestInput($suggestParams)
222 +{{/html}}
223 +{{/velocity}}
224 +{{/code}}
225 +
208 208  Custom configuration parameters:
209 209  
210 210  |=Name|=Description|=Default Value

Get Connected