[Zope] Promplems with TinyTablePlus

Bodo Bauer bb@bb-zone.com
Sat, 3 Mar 2001 12:55:34 -0800


Dieter Maurer (dieter@handshake.de) wrote:
> 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).

I get exactly the same results when I try

 <dtml-call "manage_addProduct['TinyTablePlus'].manage_addTinyTablePlus( .... )">

Also I don't quite understand why the management interface doesn't work
right either...

BB

-- 
Bodo Bauer                                                    bb@bb-zone.com
PGP Available                                             http://bb-zone.com
C8  1A  71  72  15 21  E2  EF  98  DF  EF  CF  17  8A  DF  48 3C  10  FA  3A