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

2000-09-10 Thread Dieter Maurer

[EMAIL PROTECTED] 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

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Get help about variable and entity of Zope.

2000-09-08 Thread hanse

Hi:
   I am troubled by a question with DTML.
   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)"


Thanks with best regards!




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )