Index: openacs-4/packages/xotcl-core/tcl/10-recreation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/10-recreation-procs.tcl,v diff -u -N -r1.10 -r1.11 --- openacs-4/packages/xotcl-core/tcl/10-recreation-procs.tcl 27 Oct 2014 16:42:00 -0000 1.10 +++ openacs-4/packages/xotcl-core/tcl/10-recreation-procs.tcl 7 Aug 2017 23:48:30 -0000 1.11 @@ -15,7 +15,7 @@ if {![::xotcl::Object isclass ::xotcl::RecreationClass]} { ::xotcl::Class create ::xotcl::RecreationClass -ad_doc { -

This meta-class controlls the behavior of classes (and optionally +

This meta-class controls the behavior of classes (and optionally their instances), when the classes (or their instances) are overwritten by same named new objects; we call this situation a recreate of an object.

@@ -28,13 +28,13 @@ instances of class ::xotcl::Object.

This can be a problem when the class instances are not - reloaded and when they should survife the redefintion with the + reloaded and when they should survife the redefinition with the same class relationships. Therefore we define a meta class RecreationClass, which can be used to parameterize the behavior on redefinitions. Alternatively, Classes or objects could provide their own recreate methods.

-

Per default, this meta-class handles only the class redefintion +

Per default, this meta-class handles only the class redefinition case and does only a reconfigure on the class object (in order to get e.g. ad_doc updated).

The following parameters are defined: @@ -167,7 +167,7 @@ ns_log notice "-- softrecreate" ::xotcl::configure softrecreate true - Class RR -instproc recreate args { + Class create RR -instproc recreate args { my log "-- [self args]"; next } -instproc create args { my log "-- [self args]"; next