17 Aug
2002
17 Aug
'02
4 p.m.
Hi! I've been wondering, if id can also be a method (callable object)? (I've been getting strange results from objectValues() :( ) I seem to need this code in a PythonScript: for ob in container.objectValues(["Structured Document", "Ordered Folder"]): myid=ob.id if callable(myid): myid=myid() if myid=='index_html': pass else: pass If so, is there any way to get the "autocall" effect of <dtml-var id> in a PythonScript? Andreas