Re: [Zope3-Users] child is not cataloged while adding parent

2006-03-22 Thread wata
I think that I figured out what is happening. this is what I figured out: (1) zapi.getSizeManager is hooked by zope.app.component.hooks.getSiteManager, which returns siteinfo.sm when 'context' argument is None. (2) so, if I want to use an adapter via getSiteManager(), I have to set siteinfo

Re: [Zope3-Users] child is not cataloged while adding parent

2006-03-21 Thread wata
Hi, Stephan. I'm really glad to recieve an answer from you. On Friday 03 March 2006 02:46, [EMAIL PROTECTED] wrote: and I've made an export/import view for that folder, where I succceeded to catalog children. basically both uses the same code. simply like:      parent[u'the name

Re: [Zope3-Users] child is not cataloged while adding parent

2006-03-20 Thread Stephan Richter
On Friday 03 March 2006 02:46, [EMAIL PROTECTED] wrote: and I've made an export/import view for that folder, where I succceeded to catalog children. basically both uses the same code. simply like:      parent[u'the name of the child'] = Child() What I'm missing for? It'd be happy to hear

[Zope3-Users] child is not cataloged while adding parent

2006-03-02 Thread wata
I'm writing a folderish content class. That has a site manager, and some children. And the site manager has a catalog and some FieldIndex. It looks like: parent +-- child-1 +-- child-2 +-- child-3 +-- ++etc++site +-- default +-- Intids +-- Catalog