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

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

[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: allow_

[Zope-dev] how can I call a Page Template from a product?

2004-10-18 Thread Coletti Massimo
Title: how can I call a Page Template from a product? Hi, I developed a simple product to display a stock quote in a portlet. The product is based on some python scripts (stored in a product directory under Plone products). I have written in zope a page template (portlet-style) to display