db_html_select_value_options (public)
db_html_select_value_options [ -bind bind ] \ [ -select_option select_option ] [ -value_index value_index ] \ [ -option_index option_index ] stmt_name sql
Defined in packages/acs-tcl/tcl/utilities-procs.tcl
Generate html option tags with values for an HTML selection widget. If select_option is passed and there exists a value for it in the values list, this option will be marked as selected. The "select_option" can be a list, in which case all options matching a value in the list will be marked as selected.
- Switches:
- -bind
(optional)- -select_option
(optional)- -value_index
(defaults to"0"
) (optional)- -option_index
(defaults to"1"
) (optional)- Parameters:
- stmt_name
sql
- Author:
- yon [yon@arsdigita.com]
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.