On Thu, 14 Feb 2002, Trevor Toenjes wrote:
banging my head here... <dtml-call "manage_changeProperties(hits=hits+1)"> is in a method
I have looked at aq, self(), id(), etc., but nothing works. Explicitly calling the Document, works, <dtml-call "myDoc.manage_changeProperties(hits=hits+1)"> but I need to script it...
if you're getting the document dynamically, try <dtml-call "_[mydoc_id_or_something].manage_changeProperties(hits=hits+1)"> or <dtml-call "_.getitem(mydoc_id_or_something).manage_changeProperties(hits=hits+1)"> where you supply the doc id whichever way fits hth
Thanks for the hint. -Trevor
_______________________________________________ Zope maillist - Zope@zope.org 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 )
-- test