FWC:SmartSelect is avaible right now! Download FWC:SmartSelect
FlyWeb FlyWeb :ComponentsFWC:SmartSelect @ FlyWeb :Components
En | Ru




Attributes of fwc:select tag

id (mandatory)
Unique ID of listbox on current page.

xmlns:fwc (mandatory)
The namespace URI. Must be set to http://alx.vingrad.ru/fwc.

mode
The type of created component. Can be set to: combo - combobox (set by default), select - simple drop-out list without editing feature, text - text field with autocomplete.

skin
The name of your CSS-table. Also can accept three predefined values: ss_winxp, ss_opera и ss_alx. By default library tries to detect browser automatically and use corresponding stylesheet.

design
XSL-file name.

title
The line displayed when it isn't chosen any item. By default it is value of first list item.

multiple
Defines multiple selection. By default is set to false.

usectrlkey
Defines whether list should be closed in multiple selection if the key ctrl is not clamped. By default is set to false.

fewprefix
The line displayed before number of chosen items. By default displayed all chosen values through a comma.

fewall
The line displayed after line, defined fewprefix parameter, in case when all items are chosen.

splitter
The names of items separator at multiple choice, displayed in heading-line when the attribute fewprefix is not set.

fillstart
The Number of symbols in title field at which starts autocompletion. By default is set to 1.

ownvalues
Defines, whether to accept user entered line if it does not coincide with no one of items. By default is set to: mode:combo - false, mode:text - true.

readonly
Disallow user input to list title. By default is set to false. Attention: start from 2.5 version is strongly recommended to use mode attribute sets to select instead of readonly.

size
Defines listbox width. By default is set to length of most longest item in the list.

maxheight
The height (in pixel), at which scrolling appears in the list. By default is set to "100". If the value is set to "0" scroll will never appear.

showspeed
Speed of animated listbox opening (in milliseconds). If set to "0" animation will be turned of. By default is set to 20.

hidespeed
Speed of animated listbox closing (in milliseconds). By default animation is turned off and value is set to 0.

oninit
JavaScript-handler of event, coming after loading and initialization the list.

ontype
JavaScript-handler of event, coming on user typing in title field. Can turn off execution of standart handler if returns false.

onchange
JavaScript-handler of choose item event.

onclose
JavaScript-handler of closing listbox.
© 2007 «Alexander Zinchuk» / FlyWeb :Components. License: MIT. Site by: FlyWeb / Design: Yaroslav Birzool.