category::ad_form::add_widgets (public)

 category::ad_form::add_widgets \
    -container_object_id container_object_id \
    [ -categorized_object_id categorized_object_id ] \
    -form_name form_name [ -element_name element_name ] \
    [ -excluded_trees excluded_trees ] [ -help_text help_text ]

Defined in packages/categories/tcl/category-form-procs.tcl

For each category tree associated with this container_object_id (usually package_id) put a category widget into the ad_form. On form submission the procedure category::ad_form::get_categories should be called to collect the categories in which this object belongs.

Switches:
-container_object_id (required)
-categorized_object_id (optional)
-form_name (required)
-element_name (optional, defaults to "category_id")
-excluded_trees (optional)
-help_text (optional)
Author:
Branimir Dolicki <bdolicki@branimir.com>

Testcases:
No testcase defined.
[ show source ]
Show another procedure: