Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream

2011-06-24 Thread Christian Klinger
implement create() or createAndAdd()) So if you create in your add form something like this: class MYAddForm(AddForm): def create(self, data): return MyObject(data) the catalog stuff is done for you. HTH Christian Hello On Fri, 2011-06-24 at 12:17 +0200, Christian Klinger wrote

Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream

2011-06-24 Thread Christian Klinger
Hi, sorry i have no idea with AttributeErrors. I use grok which has a different security policy. Christian On Fri, 2011-06-24 at 19:13 +0530, Joshua Immanuel wrote: If I override just the 'create' method I get the ForbiddenAttribute for 'add' operation on self.context.add(object) in

[Zope-dev] dd

2011-08-30 Thread Christian Klinger
div#toggler { text-align:left; text-indent:20px; border:2px solid #B30B16; height:400px; padding:2em; } attachment: close.png___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] dd

2011-08-30 Thread Christian Klinger
Sorry wrong list... Christian div#toggler { text-align:left; text-indent:20px; border:2px solid #B30B16; height:400px; padding:2em; } ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross