[Zope] id of an externally created object

Stephan Zaulig stephan_zaulig@web.de
Wed, 30 Jan 2002 10:36:30 +0100


Hi List,

if i create a new object in an external method with following code,
the object is created without any exception and i can see it in the manage=
ment interface of Zope with id and title.

newob2=3Dself.Control=5FPanel.Products.SQS=5FLibrary.Book(id2)
newob2.propertysheets.InstanceProperties.manage=5FchangeProperties(REQUEST)

But if i iterate over it like this
<dtml-in objectValues>
 <dtml-var id>
</dtml-in>
i dont't get the id of the object.
It's no problem, cause if i add this line of code in my external method ev=
erything seems to be alright.

newob2.=5FsetId(id2)

My question: Is this behaviour ok, and if it is, could anybody explain to =
me why it is like this=3F=20

Thanks,
Stephan
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F
Die sch=F6nsten Ski-Regionen der Alpen - jetzt bei Ferienklick.de
http://ferienklick.de/ski/=3FPP=3D2-5-100-105-38