[Zope] whats the difference in publishing a zpt and a products-method ?
Joachim Schmitz
js@aixtraware.de
Tue, 21 Jan 2003 13:43:44 +0100
Hi,
I have developed a folderish product, with a method:
def externalEdit(self,REQUEST,RESPONSE):
"""Publish the object to the external editor helper app"""
return REQUEST
If I call this with:
http://localhost:/myProd/externalEdit, the request is printed.
If I call it with:
http://localhost:/myProd/externalEdit/test, a not found error is printed
I also have a pagetemplate eetest in the myProd-folder, which simply=20
contains:
<span tal:content=3D"structure request"></span>
If I call this with:
http://localhost:/myProd/eetest/test the request is printed, with
traverse_subpath ['test']
so what is the difference calling a pagetemplate and a products method ?
Mit freundlichen Gr=FC=DFen Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------
Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6
Keyserver: http://www.keyserver.net/en/