Wiki source code of Pickers

Version 3.1 by Marius Dumitru Florea on 2019/08/20

Show last authors
1 The goal of this page is to list the default pickers available in XWiki and to provide information on how to use them.
2
3 {{toc start="2"/}}
4
5 == Suggest-based Pickers ==
6
7 This type of pickers help you pick a value by providing suggestions as you type in a text input. Checkout the [[Suggest Widget>>Documentation.DevGuide.FrontendResources.AutoSuggestWidget.WebHome]] documentation page for the list of suggest-based pickers available by default in XWiki.
8
9 == Location Picker ==
10
11 TODO
12
13 == Date Time Picker ==
14
15 TODO
16
17 == Color Picker ==
18
19 {{image reference="colorPicker.png" /}}
20
21 {{code language="none"}}
22 {{velocity}}
23 {{html clean="false"}}
24 <dl>
25 <dt><label for="myColor">Color</label></dt>
26 <dd>
27 #set ($colorPickerParams = {
28 'id': 'myColor',
29 'name': 'color',
30 'value': '#85d4a9'
31 })
32 #colorPicker($colorPickerParams)
33 </dd>
34 </dl>
35 {{/html}}
36 {{/velocity}}
37 {{/code}}

Get Connected