[Zope] PropertyIds

RC Compaan roche@up-front.co.za
Mon, 19 Jun 2000 12:39:26 +0200


I have a very simple documentclass in very simple structure in method that
should return the properties of the document:

<dtml-call "REQUEST.set('tid', REQUEST.cookies['careermanid'])">
<dtml-with RESULTS>  // RESULTS is a ZClass Object Manager
  <dtml-call "REQUEST.set('tmp', _.getitem(_['tid']))">  // tmp is a
document with an id equal to the cookie
  <dtml-return "tmp.propertyIds">
</dtml-with>

During the application i add properties to the document and want to display
them with the above method.  The Property ids does not get shown though.
I've tried:
  <dtml-with tmp>
    <dtml-var propertyIds>
  </dtml-with>
and also:
  <dtml-in "tmp.propertyIds">
    <dtml-return sequence-item>
  </dtml-with>
But no luck.
How can this work?

Roché