xowiki::formfield::dict_to_fc (public)
xowiki::formfield::dict_to_fc [ -name name ] [ -type type ] dict
Defined in packages/xowiki/tcl/form-field-procs.tcl
Convert the provided dict into form_constraint syntax (comma separated). The other direction would be more complex, since the fcs are interpreted from left to right, overwriting potentially previous values. The fc-interpretation creates already the form fields, produces intended errors, when certain attributes are not allowed, etc.
- Switches:
- -name (optional)
- optional form-field name
- -type (optional)
- type of the form-field; if not specified, take it from key "_type" of the dict
- Parameters:
- dict (required)
- dict to be converted.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- dict_to_xx