massimop at 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(...) -- Dieter