Object from Object Id (was: [Zope] Get help about variable and entity of Zope.)
10 Sep
2000
10 Sep
'00
7:30 a.m.
hanse@yeah.net writes:
With DTML,I define a variable AA, and let AA equal a object's ID, HOW can I get the object's property through the variable AA? Maybe need a function? Need your help?
I want to express as : <dtml-call "AA.propertysheets.SUBJECT.manage_changeProperties (Name=1)"> You have an object ID (in your AA variable) and you want to get the object accessible through this object ID.
This is an FAQ: you use "_.getitem(<expression for id>)" in your case "_.getitem(AA)". Dieter
9339
Age (days ago)
9339
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer