db_html_select_value_options

EveAndersson.com : API Browser : db_html_select_value_options

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-core/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.

Switches:
-bind (optional)
-select_option (optional)
-value_index (defaults to "0")
-option_index (defaults to "1")

Parameters:
stmt_name
sql
Author:
yon [yon@arsdigita.com]
[ show source ]

Show another procedure:

eve@eveandersson.com