xowiki::Page instproc create_form_fields_from_form_constraints (public)

 <instance of xowiki::Page[i]> create_form_fields_from_form_constraints \
    [ -lookup ] form_constraints

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

Create form-fields from form constraints. When "-lookup" is specified, the code reuses existing form-field instead of recreating it. Since create_raw_form_field uses destroy_on_cleanup, we do not have to care here about destroying the objects.

Switches:
-lookup
(optional)
Parameters:
form_constraints
Returns:
potentially empty list of form-field objects

Partial Call Graph (max 5 caller/called nodes):
%3 test_form_fields_from_form_constraints form_fields_from_form_constraints (test xowiki) xowiki::Page instproc create_form_fields_from_form_constraints xowiki::Page instproc create_form_fields_from_form_constraints test_form_fields_from_form_constraints->xowiki::Page instproc create_form_fields_from_form_constraints

Testcases:
form_fields_from_form_constraints
[ show source ]
Show another procedure: