[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

[Zope] Re: [Zope-dev] Aaargh, no safe seperators :S

2000-08-18 Thread Scott Shepherd
dtml-foo.[bar.dot].y In all the computer languages I know there's already a convention for solving this kind of problem. dtml-foo.bar\.dot.y But I prefer path-style identifiers: dtml-/foo/bar\.dot/y Then the correspondence to the site's folder structure is evident. Plus you

[Zope] class name of current object

2000-08-16 Thread Scott Shepherd
Is there a way to get the current object's class name? dtml-var "this.__class__.__name__" doesn't work. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -