Andreas Pauley wrote:
Hi all,
I'm trying to write an external method that will loop through all my DTML Documents, and return only objects that match a certain criteria (based on its id).
Instead of the id, my External Method returns: [<Python Method object at 83df298>, <Python Method object at 86e9ba8>]
[snip]
I've tested a few objectValues, and as far as I can tell it is only DTML Documents and DTML Methods that does not return the id correctly.
How can I get to the id of a DTML Document/Method when looping through the objectValues() ?
[snip] try using the getId() method of the object instead of accessing the id attribute directly. Sometimes id is just a value other times it is a method. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>