[Zope] acquisition question

3205 5361 1215 9784 3205 5361 1215 9784 <keo@goa.hu>
Mon, 26 Aug 2002 22:00:01 +0200


Hello zope,

  i am wondering how can i access a property of my folder from a
  <dtml-in > tag...

  i have a folder with a property no_price

  in that folder i call 'list' , a dtml method defined in the root
  folder

  that 'list' method calls sql.getOptions(), sql folder is in root dir
  too, with getOptions ZSQL method in it.

  this works fine... then i want to loop over the results from
  getOptions, like this <dtml-in "sql.getOptions()">  ... this works
  too...

  but when i am inside <dtml-in> block i cannot access the no_price
  property of the folder from which i am calling everything...

  if i list propertyItems, it shows the sql folder's properties...

  how can i get the porperty of the context folder?

  thanks,

  k.

-- 
don't believe everything you think