thx sascha i already imagine a setattr could solve the problem, but i didn't test it at the real end of any other declaration. thank's for this tip ! hop you get nice weather in athen 2008/3/26, Sascha Welter <zopelist@betabug.ch>:
(Tue, Mar 25, 2008 at 09:36:49PM +0100) bard st?phane wrote/schrieb/egrapse:
hi every body i'm changing a very old zclass product. In this zclass i declare a python script with this name "mydoc.xls" this script return an xls file with an argument
now i'm writing a zope2 product. How can I explain to zope that he should publish a certain method with a different name so when people type http://myIntranet/folder/mydoc.xls?fileName=hello.xls it point to a real python method (dot caracter are forbiden in python class method)
http://betabug.ch/blogs/ch-athens/144 "Zope Methods with a Dot in the name"
HTH!
Regards,
Sascha
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )