13 Dec
2004
13 Dec
'04
11:23 a.m.
Il giorno lun, 13-12-2004 alle 00:09 +0100, Dieter Maurer ha scritto:
massimop@users.berlios.de wrote at 2004-12-11 15:59 +0100:
I'm experimenting with products an I'm finding challenging to serve a javascript file from the context of the product.
I've simply defined a function
def posts_js(self): """javascript file""" return DTMLFile('dtml/posts.js', globals())
Try:
posrt_js = DTMLFile(...)
Perfect! Thanks a lot massimo