[Zope] adding product-based objects programmatically
Kees de Brabander
cj.de.brabander at hccnet.nl
Thu Aug 3 14:51:27 EDT 2006
> >manage_addQuery in Query.py looks like:
> >def manage_addQuery(dispatcher, id, title, REQUEST=None):
> > "...."
> > nQ=Query(id,title)
> > dispatcher.Destination()._setObject(id, nQ)
>
> Apparently, "dispatcher" lacks a "Destination" method.
>
> Why are you using it?
> Usually "dispatcher._setObject" is enough.
I remembered and checked: it was taken from the Zope Developer's Guide 2.4
edition on zope.org!!
More information about the Zope
mailing list