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

Joshua Immanuel <[email protected]>
Newsgroups gmane.comp.web.zope.devel,gmane.comp.web.zope.bluebream
Organization HiPro IT Solutions Private Limited
Message-ID <1308912362.2414.60.camel@jimman>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk4Eam4ACgkQWw85XwuSFMIhrwCdG7eCXJ4JGJNKgMOkvYa06bSe
5AYAn0ySGnTrd4QTX1Cs1vCJbDnfCVmA
=PDVo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.