• Publicity: Public Only All

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
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 ad_conn ad_conn (public) category_tree::get_mapped_trees category_tree::get_mapped_trees (public) category_tree::get_name category_tree::get_name (public) category_tree::get_tree category_tree::get_tree (public) template::element::set_error template::element::set_error (public) template::data::transform::category template::data::transform::category template::data::transform::category->ad_conn template::data::transform::category->category_tree::get_mapped_trees template::data::transform::category->category_tree::get_name template::data::transform::category->category_tree::get_tree template::data::transform::category->template::element::set_error

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
message_ref
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3

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
tag_attributes
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 ad_conn ad_conn (public) category::get_mapped_categories category::get_mapped_categories (public) category_tree::get_mapped_trees category_tree::get_mapped_trees (public) category_tree::get_name category_tree::get_name (public) category_tree::get_tree category_tree::get_tree (public) template::widget::category template::widget::category template::widget::category->ad_conn template::widget::category->category::get_mapped_categories template::widget::category->category_tree::get_mapped_trees template::widget::category->category_tree::get_name template::widget::category->category_tree::get_tree

Testcases:
No testcase defined.
[ show source ]