[Zope3-Users] page uses foreign view: context changed

Florian Lindner mailinglists at xgm.de
Wed Apr 6 16:22:00 EDT 2005


Hello,
I'vw a viewA on a objectA including a macro:


<metal:block define-macro="info">
  <span tal:replace="context/__name__" />
</metal:block>

A view of objectB uses this macro and inserts it into its own viewB:

<metal:block use-macro="item/@@shortinfo/info" />

My problem is now, that the context of viewA is objectB. But I want it to 
insert some data from objectA. How can I get objectA, the object viewA was 
registered for?

Thanks,

Florian


More information about the Zope3-users mailing list