[Zope-dev] Python method wrapping around DTML method

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 3 Jan 2003 17:04:55 +0000


On Friday 03 January 2003 10:13 am, Bjorn Stabell wrote:

> Right now, I'm struggeling because I cannot get the
> namespace to be passed to PlainFunc, therefore PlainFunc cannot pass th=
e
> namespace on to DTMLFunc.  Any clues?

There isnt one true namespace. You can create your own as easy as { }, an=
d it=20
will be as good as any other.

If you want an authentic ZPublisher namespace then you need

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

--=20
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson