> >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!!

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to