Re: [Zope] processing dtml in external method

2000-08-23 Thread Dieter Maurer
Scott Shepherd writes: I have an external method that returns a string containing dtml, but I want it to evaluate the dtml and return the result. How do I do that? "evaluating dtml" means calling it. The "__call__" of DTML methods, or, more generally, DocumentTemplates, has two

[Zope] processing dtml in external method

2000-08-22 Thread Scott Shepherd
Friends, I have an external method that returns a string containing dtml, but I want it to evaluate the dtml and return the result. How do I do that? I noticed in, say, /usr/share/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, that dtml-containing *files* are used as object

Re: [Zope] processing dtml in external method

2000-08-22 Thread Kapil Thangavelu
Scott Shepherd wrote: Friends, I have an external method that returns a string containing dtml, but I want it to evaluate the dtml and return the result. How do I do that? I noticed in, say, /usr/share/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, that dtml-containing