xowiki::formfield::child_components (public)
xowiki::formfield::child_components [ -filter filter ] objs
Defined in packages/xowiki/tcl/form-field-procs.tcl
For every form-field obj in the provided objs, return a list of all child components (potentially leaf components of compound fields). The result list is filtered by the optional filter expression, which can refer to the current object via variable $_.
- Switches:
- -filter (optional, defaults to
"true"
)- Parameters:
- objs (required, object)
- input form-field objs
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set result {} foreach obj $objs { lappend result {*}[lmap _ [$obj leaf_components] { if {![expr $filter]} continue set _ }] } return $resultXQL Not present: Generic, PostgreSQL, Oracle