[Zope-dev] Referencing a python method from a product page template

2004-10-20 Thread Coletti Massimo
Hi, I am defining a Zope product to create a new portlet, the portlet will display some contents retrieved from a python module. Under the product dir I have a file queryBFE.py, with a method returnQuery(); the method returns a dictionary. In the __init__.py at product level, there is an:

R: [Zope-dev] Referencing a python method from a product page template

2004-10-20 Thread Coletti Massimo
Pardon, the traceback of option b was not correct, here is the right one -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Coletti Massimo Inviato: mercoledì 20 ottobre 2004 10.31 A: [EMAIL PROTECTED] Oggetto: [Zope-dev] Referencing a python method from a

R: [Zope-dev] Referencing a python method from a product page template

2004-10-20 Thread Coletti Massimo
Solved ! There are some wrong info in Zope Developers Book. The solution is here: http://mail.zope.org/pipermail/zope/2004-May/thread.html#149569 Massimo -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Coletti Massimo Inviato: mercoledì 20 ottobre

Re: [Zope-dev] Referencing a python method from a product page template

2004-10-20 Thread Jens Vagelpohl
On Oct 20, 2004, at 11:37, Coletti Massimo wrote: Solved ! There are some wrong info in Zope Developers Book. The solution is here: http://mail.zope.org/pipermail/zope/2004-May/thread.html#149569 I've corrected it in the 2.7 book: http://www.plope.com/Books/2_7Edition/AdvZPT.stx#3-95 jens