1HTMLDocument.addLazySelect(3kaKyaay)a module referHeTnMcLeDocument.addLazySelect(3kaya)
2
3
4
6 HTMLDocument::addLazySelect - Lazily adds a selection box
7
9 ElementTree addLazySelect( ElementTree block, String name, Int ssize,
10 [Pair<String, [SelectOption]> ] optgroups )
11
13 parent The parent element
14
15 name The name of the input. Remember that names starting with "kaya_"
16 may be used by the Kaya standard library and should not be used
17 directly by applications.
18
19 ssize The size of the select element. If this is zero, the select ele‐
20 ment will only allow one option to be selected at any one time. If this
21 is one or more, the select element will allow multiple options to be
22 selected, and suggest to the browser that this many options be dis‐
23 played simultaneously.
24
25 optgroups The options to select from
26
28 Adds a lazy selection box to a form. The end result after conversion to
29 a String is identical to that produced by HTMLDocument.addSelectElement
30 [1m(3kaya) , but the memory usage is lower. The disadvantage, however, is
31 that Webapp.autoFill (3kaya) cannot be used to automatically complete
32 forms containing lazy elements such as this one.
33
35 Kaya standard library by Edwin Brady, Chris Morris and others
36 (kaya@kayalang.org). For further information see http://kayalang.org/
37
39 The Kaya standard library is free software; you can redistribute it
40 and/or modify it under the terms of the GNU Lesser General Public
41 License (version 2.1 or any later version) as published by the Free
42 Software Foundation.
43
45 HTMLDocument.SelectOption (3kaya)
46 HTMLDocument.addLabelledSelect (3kaya)
47 HTMLDocument.addSelectElement (3kaya)
48
49
50
51Kaya December 2010HTMLDocument.addLazySelect(3kaya)