[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

[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', description=u'The repositories',

[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

[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: span tal:replace="python:context.poll1.getVotesFor(j)"/ and it works In Zope3, i made the same