RE: [Zope] filename extension
Untested: <dtml-in "_['fac_browse_method.sql'](id=10)"> Does it work? -----Message d'origine----- De : Olaf Zanger [mailto:olaf.zanger@soli-con.com] Envoyé : lundi 8 janvier 2001 08:41 À : zope@zope.org; zope-dev@zope.org Objet : [Zope] filename extension hi there, some information on zope.org says that in the early future ftp access should be possible not only to dtml-methods, -documents but also to Zsql-methods. to be future proof (and windows software proof) we'd like to have .xxx extensions for all our methods (fac_browse_method.sql that lovely windows understands what programm to start [textpad for sql ...]) unfortuanetly if called like <dtml-in expr="fac_browse_method.sql(id=10)"> zope gernerates an error. if there is a solution: how? or if not: does anything needs to be changed in the file handling of zope thanks olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Marc Zanger Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:info@soli-con.com mailto:olaf.zanger@soli-con.com http://www.soli-con.com
hi there, thanks for the answer, but ... Menard.Jean-Francois@hydro.qc.ca schrieb:
Untested:
<dtml-in "_['fac_browse_method.sql'](id=10)">
Does it work?
nope <dtml-in "_['adr_select_method.sql'](id=man_adr_id)"> Error Type: Bad Request Error Value: ['id'] this (with the renamed file) works though: <dtml-in "adr_select_method(id=man_adr_id)"> is there any documentation for these tricks? thanks olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Marc Zanger Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:info@soli-con.com mailto:olaf.zanger@soli-con.com http://www.soli-con.com
participants (2)
-
Menard.Jean-Francois@hydro.qc.ca -
Olaf Zanger