[Zope] Promplems with TinyTablePlus

Dieter Maurer dieter@handshake.de
Sat, 3 Mar 2001 20:21:25 +0100 (CET)


Bodo Bauer writes:
 > I try to use TiniyTablePlus in my product, however I can't create a TinyTable
 > as subobject in any of my classes. Whenever I try to create an instance of
 > a TinyTablePlus, either from a DTML method, or manually in the manage screens,
 > the created table ends up being in the first folder (counting from innermost
 > upwards) that is not an instance from a Zclass I created, but a regular folder.
 > 
 > All my Zclasses are derived from ZObjectManager, so it should work, right?
Apparently not.

It seems, you are using "manage_addTinyTable".
Your Z instances lack such a method. Thus, acquisition jumps
in and you get the method of the folder above.
This method, of course, adds in the folder not in you Z instance.

You can try "manage_addProduct['TinyTable']....
(you must replace the last three periods with the constructor name).


Dieter