workflow::role::get_assignee_widget (public)

 workflow::role::get_assignee_widget -role_id role_id \
    [ -prefix prefix ] [ -mode mode ]

Defined in packages/workflow/tcl/role-procs.tcl

Get the assignee widget for use with ad_form for this role.

Switches:
-role_id (required)
the ID of the role.
-prefix (optional, defaults to "role_")
-mode (optional, defaults to "display")
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::role::add_assignee_widgets workflow::role::add_assignee_widgets (public) workflow::role::get_assignee_widget workflow::role::get_assignee_widget workflow::role::add_assignee_widgets->workflow::role::get_assignee_widget workflow::role::get workflow::role::get (public) workflow::role::get_assignee_widget->workflow::role::get workflow::role::get_picklist workflow::role::get_picklist (public) workflow::role::get_assignee_widget->workflow::role::get_picklist workflow::role::get_search_query workflow::role::get_search_query (public) workflow::role::get_assignee_widget->workflow::role::get_search_query

Testcases:
No testcase defined.
Source code:

    workflow::role::get -role_id $role_id -array role
    set element "${prefix}$role(short_name)"
    
    set query [workflow::role::get_search_query -role_id $role_id]
    set picklist [workflow::role::get_picklist -role_id $role_id]
    return [list "${element}:search(search),optional" [list label $role(pretty_name)] [list mode $mode]  [list search_query $query] [list options $picklist]]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/workflow/tcl/role-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: