[Zope] Object from Object Id (was: [Zope] Get help about variable and entity of Zope.)

Dieter Maurer dieter@handshake.de
Sun, 10 Sep 2000 09:30:56 +0200 (CEST)


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