[Zope-dev] ZPatterns: persistant objects hold DataSkin-Items -> KeyError: _v_dm_

Ulrich Eck ueck@net-labs.de
Thu, 14 Dec 2000 14:49:32 +0100


>
> >I'm searching for something that handles a newItem(<meta_type>,key)
function
> >that is provided
> >from the FwCS who decides which object-type is created and gets those
> >attributes from the customizer
>
> Just use the normal Zope "add list" to create one manually, or call the
> appropriate constructors (e.g. SomeZClass.createInObjectManager()).
>


after a while I think I got it now.

I use a FcWS as a Folder like usual in Zope and if i create an object
of a type which is "customized" certain attributes will be set through
the customizer. so for a database app that handles multiple tables
it isnt useful to handle with a FwCS.

First I thought there is the same "magic" as if i ..getItem() with a
specialist .. in a FwCS

Due to the Folders Rules, there can only by one object with the same id
at a time in one FwCS ..

I'll switch back to a Specialist which has many racks as data-providers
which i can choose the right one with a method that has a "meta-type"
parameter.

is this right so far ??

Ulrich Eck