8 Nov
2002
8 Nov
'02
10:21 p.m.
Juan Manuel Ruiz Garcia writes:
I have a variable called 'file' that has the name of a DTML/HTML Document tahta exist inside a Folder 'folder' When you have an object "o" and an id "id" (a string), then you can use "o.getattr(id)" to get "o"s (own or acquired) child with id "id".
Note, that you need to call DTML objects to render them. Note that they usually require positional arguments to know about their context. Read "Calling DTML objects" in <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> if necessary. Dieter