category-form-procs.tcl

  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
Added new proc 'category::ad_form::fill_widgets' used when editing an existing object that has category mappings.

See http://www.openacs.org/forums/message-view?message_id=4192799 for details.

- used expand operator instead of "eval"

- use "in" or not in (ni) operator instead of lsearch

- no need to use "expr" inside an "if" or "for" condition

- brace expressions to allow for tcl compilation

- bump version number

  1. … 7 more files in changeset.
- use "lassign" instead of "util_unlist"

  1. … 19 more files in changeset.
minor cleanip (cvs id, comparisons)

  1. … 2 more files in changeset.
Added capability to define the widget upon mapping a category tree, effectively allowing single and multiple choice

  1. … 10 more files in changeset.
add an excluded_trees flag which lets you exclude some category trees from the widget set

add a help_text arg to category::ad_form::add_widgets, add a category_tree::get_multirow function to return a datasource, bump version to 1.0d4 (api change)

  1. … 2 more files in changeset.
make missing variable for category tree not a fatal error for category::ad_form::get_categories

moved procs for integration in ad_form to seperate file since they are in seperate namespace anyway

    • -0
    • +67
    ./category-form-procs.tcl
  1. … 1 more file in changeset.