workflow::case::role::add_assignee_widgets (public)
workflow::case::role::add_assignee_widgets -case_id case_id \ -form_name form_name [ -prefix prefix ] [ -role_ids role_ids ]
Defined in packages/workflow/tcl/case-procs.tcl
Get the assignee widget for use with ad_form for this role.
- Switches:
- -case_id (required)
- the ID of the case.
- -form_name (required)
- -prefix (optional, defaults to
"role_"
)- -role_ids (optional)
- Only add assignee widgets for the roles supplied. If no roles are specified then all roles are used.
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set workflow_id [workflow::case::get_element -case_id $case_id -element 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 -case_id $case_id -role_id $role_id -prefix $prefix]] }Generic XQL file: packages/workflow/tcl/case-procs.xql
PostgreSQL XQL file: packages/workflow/tcl/case-procs-postgresql.xql
Oracle XQL file: packages/workflow/tcl/case-procs-oracle.xql