xowf-form-field-procs.tcl

  • last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 1 more file in changeset.
- 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.
- make alternatives clickable in mc-questions

  1. … 1 more file in changeset.
- Fix more spelling errors

- Use uniform spelling of "Tcl"

  1. … 9 more files in changeset.
- reduce dependencies on xinha

- use repeat form field specs for mc exercises

- provide a more decent feedback on correct/incorrect answers

  1. … 2 more files in changeset.
- use new function permission::get_parties_with_permission instead of direct dependency on permission tables

- reduce graph size for form-field "current_state"

  1. … 1 more file in changeset.
- use explicit create statments

  1. … 2 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.
- remove invalid and unnecessary markup

initial check-in

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