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

2000-12-14 Thread Ulrich Eck
hi Philip ... > >so for a database app that handles multiple tables > >it isnt useful to handle with a FwCS. > > Um, not necessarily. You can create regular Folders under the FwCS if you > want to keep them seperate. You can even use BTreeFolders or other > ObjectManagers, if you like. All tha

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

2000-12-14 Thread Phillip J. Eby
At 02:49 PM 12/14/00 +0100, Ulrich Eck wrote: > >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. Yes. >so for a database app that handles multip

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

2000-12-14 Thread Ulrich Eck
> > >I'm searching for something that handles a newItem(,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 constructo

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

2000-12-13 Thread weblabs
> > Not necessary. If you retrieve your DataSkin as an attribute of its > container, the DataSkin __of__ method will automatically find and bind the > DataManager (assuming you're not using some class that overrides __of__). > ok i've gone all through the source searching for a method to get an

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

2000-12-13 Thread Phillip J. Eby
At 06:31 PM 12/13/00 +0100, Ulrich Eck wrote: >after one more day of source-code-reading i got that far: > >When I want to use a Folder /w Customizer (FwCS) I cannot/don't need to use >Specialists. Not to store your objects, no. You can still use Specialists to concentrate search methods, constr

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

2000-12-13 Thread Ulrich Eck
after one more day of source-code-reading i got that far: When I want to use a Folder /w Customizer (FwCS) I cannot/don't need to use Specialists. i create a FwCS and put my 'Framework' in it. if i want to access (get/new) an object handled by a customizer i can ask FwCS._getDataManagerFor(clien

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

2000-12-12 Thread Phillip J. Eby
At 07:23 PM 12/12/00 +0100, Ulrich Eck wrote: > >I can deal arround that if i reget the DSO from the specialist in every >function which deals with DSO's. This is the correct way to do it if you are using Specialists rather than Folder w/Customization Support. > >is there a better way to > >a) t