workflow::role::add_assignee_widgets (public)
workflow::role::add_assignee_widgets -form_name form_name \ [ -prefix prefix ] -workflow_id workflow_id [ -roles roles ] \ [ -mode mode ]
Defined in packages/workflow/tcl/role-procs.tcl
Get the assignee widget for use with ad_form for this role.
- Switches:
- -form_name (required)
- -prefix (optional, defaults to
"role_"
)- -workflow_id (required)
- -roles (optional)
- -mode (optional, defaults to
"display"
)- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: foreach role $roles { lappend role_ids [get_id -short_name $role -workflow_id $workflow_id] } if { $role_ids eq "" } { set role_ids [workflow::get_roles -workflow_id $workflow_id] } foreach role_id $role_ids { ad_form -extend -name $form_name -form [list [get_assignee_widget -role_id $role_id -prefix $prefix -mode $mode]] }XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/workflow/tcl/role-procs.xql