xowiki::formfield::dict_value (public)

 xowiki::formfield::dict_value dict key [ default ]

Defined in packages/xowiki/tcl/form-field-procs.tcl

Return the dict value of the specified "key" when this member exists. Otherwise return the default.

Parameters:
dict (required)
key (required)
default (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_dict_to_xx dict_to_xx (test xowiki) xowiki::formfield::dict_value xowiki::formfield::dict_value test_dict_to_xx->xowiki::formfield::dict_value

Testcases:
dict_to_xx
Source code:
    expr {[dict exists $dict $key] ? [dict get $dict $key] : $default}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: