widget-procs.tcl

Category widgets for the ArsDigita Templating System

Location:
packages/categories/tcl/widget-procs.tcl
Author:
Timo Hentschel (timo@timohentschel.de) This is free software distributed under the terms of the GNU Public License. Full text of the license is available from the GNU Project: http://www.fsf.org/copyleft/gpl.html

Procedures in this file

Detailed information

template::data::transform::category (public)

 template::data::transform::category element_ref

Transform the value from the form request into the widget internal representation.

Parameters:
element_ref (required)
Author:
Timo Hentschel <timo@timohentschel.de>

Testcases:
No testcase defined.

template::data::validate::category (public)

 template::data::validate::category value_ref message_ref

Validates the value of a category widget.

Parameters:
value_ref (required)
message_ref (required)
Author:
Timo Hentschel <timo@timohentschel.de>

Testcases:
No testcase defined.

template::widget::category (public)

 template::widget::category element_reference tag_attributes

Display the category widget. This has a multitude of options:

  • value: Values should be a list of two items: the object_id being viewed and the object_id which the trees are mapped to. This will get the mapped trees (if no value provided defaults to package_id) and the mapped categories for the object_id. If you do not provide a value, the following options are used:
  • category_application_id>
  • category_object_id
  • category_tree_id
  • category_subtree_id
  • category_assign_single_p
  • category_require_category_p

Parameters:
element_reference (required)
tag_attributes (required)
Author:
Timo Hentschel <timo@timohentschel.de>

Testcases:
No testcase defined.
[ show source ]