20 Apr
2004
20 Apr
'04
12:55 p.m.
Stephen Rudd wrote:
for object in self.objectValues(): text += object.read()
This works well, but the returned DTML remains as unparsed DTML. What should I be doing to recover the parsed DTML?
Stephen, Object.read() returns the raw text of the DTML object. You need to actually call the object itself. Try: for object in self.objectValues(): text += object(self, self.REQUEST) Hope this helps -Matt -- Matt Hamilton matth@netsight.co.uk Netsight Internet Solutions, Ltd. Business Vision on the Internet http://www.netsight.co.uk +44 (0)117 9090901 Web Design | Zope/Plone Development & Consulting | Co-location | Hosting