Re: [Zope] Re: catalog aware not working.. help

2007-03-21 Thread Sascha Welter
(Tue, Mar 20, 2007 at 08:51:24AM +0100) Josef Meile wrote/schrieb/egrapse: You may also try to change the way you are sub classing. In my case, I put CatalogAware as the first sub class (left-most). Keep in mind that you really should be using CatalogPathAware not CatalogAware, or you will run

[Zope] Re: catalog aware not working.. help

2007-03-21 Thread Josef Meile
Hi, Keep in mind that you really should be using CatalogPathAware not CatalogAware, or you will run into trouble with absolute_url() and virtual hosting. Does it make a difference? If you go to Zope_home/lib/python/Products/ZCatalog/CatalogPathAwareness.py You will see that

Re: [Zope] Re: catalog aware not working.. help

2007-03-21 Thread Sascha Welter
(Wed, Mar 21, 2007 at 03:23:13PM +0100) Josef Meile wrote/schrieb/egrapse: Keep in mind that you really should be using CatalogPathAware not CatalogAware, or you will run into trouble with absolute_url() and virtual hosting. Does it make a difference? If you go to

[Zope] Re: catalog aware not working.. help

2007-03-20 Thread Josef Meile
Hi Allen I made a pyhon product with catalogaware as one of my base class but my zcatalog named 'catalog' doesn't automatically catalog when I add a product item. what could be a problem? Perhaps setting the catalog in your object instance may help: self.manage_editCataloger(catalogPath)