26 Feb
2003
26 Feb
'03
7:18 p.m.
Jorg E. Rødsjø wrote at 2003-2-26 14:13 +0100:
I am trying to copy(clone) a DTML-method from a zclass into an instance of the same class. That is to say i have a Product A, with a zclass B. And in this zclass B a dmtl-method C resides.
In a subfolder in an instance of this zclass D, I want to copy(clone) the dtml-method C. So, in a dtml-method inside the instance D, I have the following code:
context.subfolderName.manage_clone(container.foo,'foo.html')
But all I get is:
The action against the foo object could not be carried out. One of the following constraints caused the problem:
Looking at the code, it looks like your object is not copyable (i.e. "obj.cb_isCopyable()" returns a false value). Dieter