[Zope] DTMLFile question -- half solution

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 15 Aug 2002 13:32:25 +0100


On Thursday 15 Aug 2002 1:37 pm, tomas@fabula.de wrote:
> Hi,
>
> just in case someone is interested in how it's turning out.
>
> As a reminder: My aim was to use DTML methods on a product without
> `declaring' them `by hand' in the product class definition. That

good work

> -- but the name space is gone:
> that's to say the dtml code within this file doesn't `see' the things
> I'd expect it to (e.g. CMSResource's methods and that).
>
> Comments? Ideas? Is there a better way to achieve this?

http://www.zope.org/Members/htrd/howto/FunctionTemplate

> Am I totally
> crazy?

totally? no. it does get worse than this. I have proof.