[Zope3-Users] Call a Python method from a ZPT

2006-05-29 Thread Paolo Cilmo
Hi, i have to call a method of a package from a ZPT. In Zope2, i make the Poll Product (Dev_Guide 2_4). In the example i can call "getVotesFor" method simply writing in ZPT (in ZMI) this line:and it works In Zope3, i made the same product (package). From a ZPT page (in ZMI), i can call a meth

[Zope3-Users] Come posso utilizzare SQLExpr con Five?

2006-02-03 Thread Paolo Cilmo
Come posso utilizzare SQLExpr con Five? Quando avvio zope2, mi da il seguente errore: ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/tales', u'expressiontype') Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive___

[Zope3-Users] How i can use SQLExpr in Five?

2006-02-03 Thread Paolo Cilmo
How i can use SQLExpr in Five? When i start zope2 i have this error: ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/tales', u'expressiontype') Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3___ Zope3-users ma

[Zope3-Users] Problems with "form" package and widget

2006-01-03 Thread Paolo Cilmo
 Hi! I'm tryng to create in Zope3 a "select tag" with this code:         voc=SimpleVocabulary.fromValues(lst)         repository_choice=Choice(title=u'Repository',                     vocabulary='voc')         repository_list=List(__name__='replist', title=u'Repositories',                 desc

Re: [Zope3-Users] Help us! Calling a Python Script from ZPT

2005-11-02 Thread Paolo Cilmo
OK, I perhaps don't have been clear in my previous e-mail.  I need to write a little site using ZOPE3 as i using ZOPE2. Really i've also write an application on ZOPE3 by ZMI (the same in ZOPE2). This application insert (by a form) values in a database written in MySQL. Typical use is composed by th

[Zope3-Users] Help us! Calling a Python Script from ZPT

2005-10-29 Thread Paolo Cilmo
Hello! I've read all the Philipp book and Zope3book. I've visited whole zope.org site. In these books and sites are explained a lot of things, but only for developing new packages. I need to develop a site using ZMI (Zope2 typical using) and especially i want to develop this applications: 1- I've