2 Dec
1999
2 Dec
'99
6:10 p.m.
-----Original Message----- From: Felipe Alvarez Harnecker [mailto:felipe@qlsoft.cl] Sent: Thursday, December 02, 1999 11:37 AM To: zope@zope.org Subject: [Zope] Howto access an Object not in the hierachy.
Suppose this scenario
/--| |-foo-| | |- DTML Object 1 | |-bar-| | |- DTML Object 2
I need to access Object1 from Object2.
Something like <dtml-var foo.Object1> in Object 2
You're close, <dtml-var "foo.Object1"> will work (because it's a python expression with the "", and Zope acquires 'foo') or: <dtml-with foo> <dtml-var Object1> </dtml-with> Is similar, Zope acquires 'foo', then sees object1. -Michel