Re: [Zope] help, installing ZJetDA-0.1.1..

2006-12-05 Thread Maciej Wisniowski
> Hi, I have copied the folder of the ZJetDA-0.1.1 product Have you seen how old ZJetDA is? I'm not surprised it doesn't work with Zope2.10. If you want to use this you'll possibly have to modify it's code. Better look for different database adapter. I think that mxODBC might be best solution fo

Re: [Zope] MailHost with SSL

2006-12-05 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 5. Dezember 2006 22:18:09 +0100 Ferhat Ayaz <[EMAIL PROTECTED]> wrote: > I've installed it. But there is no way to set user/password. At least I > didn't found anyway. > > We don't believe that. The API tells you clearly that the constructo

[Zope] help, installing ZJetDA-0.1.1..

2006-12-05 Thread [EMAIL PROTECTED]
Hi, I have copied the folder of the ZJetDA-0.1.1 product on the directory "C:\Zope\2.10,1 \ Zope \ lib \ python \ Products" and restarted Zope. If I go in the Control panel -->Product management, I can visualize it, but how can I use it? how to create an instance of it in my project… Probably

Re: [Zope] MailHost with SSL

2006-12-05 Thread Ferhat Ayaz
I've installed it. But there is no way to set user/password. At least I didn't found anyway. On Dec 5, 2006, at 10:15 PM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 5. Dezember 2006 20:31:21 +0100 Ferhat Ayaz <[EMAIL PROTECTED]> wrote: Hello, is it possibl

Re: [Zope] MailHost with SSL

2006-12-05 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 5. Dezember 2006 20:31:21 +0100 Ferhat Ayaz <[EMAIL PROTECTED]> wrote: > Hello, > > is it possible to connect a ssl crypted smtp server like googlemail with > MailHost? > > Look at SecureMailHost which is part of Plone. - -aj -BEGIN PGP

[Zope] MailHost with SSL

2006-12-05 Thread Ferhat Ayaz
Hello, is it possible to connect a ssl crypted smtp server like googlemail with MailHost? Thanks Ferhat ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http:/

Re: [Zope] want to learn ZPT

2006-12-05 Thread Chris Withers
Andreas Jung wrote: ZPT is the way to go and ZPT is fair enough documented in three chapters: It's also documented nicely in Philipp's Zope 3 book... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix

Re: [Zope] want to learn ZPT

2006-12-05 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 5. Dezember 2006 02:44:36 -0800 Allen Huang <[EMAIL PROTECTED]> wrote: > Hi.. I want to start learning ZPT since I heard from a lot of people that > dtml is too outdated. Could anyone point me in the right direction? What > should I starts on

[Zope] want to learn ZPT

2006-12-05 Thread Allen Huang
Hi.. I want to start learning ZPT since I heard from a lot of people that dtml is too outdated. Could anyone point me in the right direction? What should I starts on? Yahoo! Music Unlimited Access over 1 mill

Re: [Zope] conditional python expresion inside ZPT

2006-12-05 Thread Maciej Wisniowski
> if (my_expresion): > toreturn = a > else: > toreturn = b > > return toretun Try: tal:define="toreturn python: my_expression and a or b" but you need to be aware that 'a' has to be logical True in context of this statement (if a may be 0 or '' then this may fail). or tal:define="toretur

Re: [Zope] conditional python expresion inside ZPT

2006-12-05 Thread Marco Bizzarri
What about putting the code snippet in a python script and then calling it from ZPT? Put it in a script like "mycondition", and then Regards Marco On 12/5/06, Daniel de la Cuesta <[EMAIL PROTECTED]> wrote: Hello, How can I insert a conditional python expresion inside a ZPT. Example:

Re: [Zope] AttributeError: LazyMap instance has no attribute '_product'

2006-12-05 Thread Peter Bengtsson
Dieter Maurer wrote: Peter Bengtsson wrote at 2006-12-4 11:52 +: ... File "/home/peterbe/zope/zope288/Products/Mest/ProductPhotoBase.py", line 130, in _addProductPhoto photo_adder = self.manage_addProduct['Photo'].manage_addPhoto File "/home/peterbe/zope/zope288/lib/python/App/F

[Zope] conditional python expresion inside ZPT

2006-12-05 Thread Daniel de la Cuesta
Hello, How can I insert a conditional python expresion inside a ZPT. Example: if (my_expresion): toreturn = a else: toreturn = b return toretun Thank you! ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

Re: [Zope] Has anyone generated barcodes output within DTML?

2006-12-05 Thread Chris Withers
[EMAIL PROTECTED] wrote: It is a simple question, has anyone generated barcodes output within DTML? I am just starting to reseach this and I know there are different formats. I tried googling but I did not find this type of integration. My customer prints out a shipping manifest and work like