template::util::checkbox_text::get_property (public)

 template::util::checkbox_text::get_property what checkbox_list

Defined in packages/acs-templating/tcl/widget-procs.tcl

Parameters:
what (required)
checkbox_list (required)
Returns:
Error:
Author:
Timo Hentschel <timo@timohentschel.de>
Created:
2004-10-17

Partial Call Graph (max 5 caller/called nodes):
%3 template::widget::checkbox_text template::widget::checkbox_text (public) template::util::checkbox_text::get_property template::util::checkbox_text::get_property template::widget::checkbox_text->template::util::checkbox_text::get_property

Testcases:
No testcase defined.
Source code:
    switch -- $what {
        checkbox_value - checkbox {
            return [lindex $checkbox_list 0]
        }
        text_value - text {
            return [lindex $checkbox_list 1]
        }
        default {
            error "Parameter supplied to util::checkbox_text::get_property 'what' must be one of: checkbox_value, text_value. You specified: '$what'."
        }
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-templating/tcl/widget-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: