xowf-form-field-procs.tcl

  • last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove call from Role object to unknown method :cache

- remvoe per-request cacheing for dotlrn_community::get_community_id (gain is little, since the function uses already an per-thread cache)

improve code documentation

  1. … 10 more files in changeset.
prefer XOTcl2 idioms

  1. … 4 more files in changeset.
Whitespace changes

  1. … 1 more file in changeset.
Shared Workflow Definitions (Part 2)

When shared workflow definition are used, a different management of

object specific code is necessary, since one definition seves for many

objects, and it is not freshly created per object. Therefore, a new

concept is introduced for workflow definitions, named "object-specifc"

Instead of writing in a workflow definition

Action save

state initial -actions {save}

[my object] proc foo {} { ns_log notice "===foo==="}

one has to write now:

Action save

state initial -actions {save}

:object-specific {

:proc foo {} { ns_log notice "===foo==="}

}

where the object-specific is evaluated once per request for every

involved workflow instance in the context of the object (a [self]

in this block refers to the object).

In case a [my object] is encountered and sharedWorkflowDefinition is

activated, a warning is produced and the code falls back to old-style

shared workflow definitions.

  1. … 3 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
initial check-in

    • -0
    • +354
    ./xowf-form-field-procs.tcl
  1. … 18 more files in changeset.