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

Joshua Immanuel josh at hipro.co.in
Fri Jun 24 06:46:02 EDT 2011


Hello
On Fri, 2011-06-24 at 12:17 +0200, Christian Klinger wrote:
> what do you mean with "via zope.formlib AddForms's createAndAdd' method.
> 
> Do you override this method? If so this is wrong you only have to
> add a create method which get's called before the object is persisted in 
> the container. The createAndAdd method triggers then the catalog.

Oh!! I never knew that. I was following the bluebream documentation at
http://bluebream.zope.org/doc/1.0/tutorial2.html#adding-tickets there
they were overriding the 'createAndAdd' method of AddForm.

Anyways I'll try the 'create' method and get back.

Thanks

-- 
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20110624/41dcc630/attachment.bin 


More information about the Zope-Dev mailing list