xowf::WorkflowPage instproc call_action_foreach (public)

 <instance of xowf::WorkflowPage[i]> call_action_foreach \
    -action action  [ -attributes attributes ] page_names

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

Call the specified action for each of the specified pages denoted by the list of page names

Switches:
-action
(required)
-attributes
(optional)
Parameters:
page_names

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
foreach page_name $page_names {
  set page [${:package_id} get_page_from_name -parent_id [:parent_id] -name $page_name]
  if {$page ne ""} {
    $page call_action -action $action -attributes $attributes
  } else {
    ns_log notice "WF: could not call action $action, since $page_name in [:parent_id] failed"
  }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: