Re: [Zope] MailHost with SSL

2006-12-07 Thread Ferhat Ayaz
Yes, thanks. You're so adroit. Now my problem is solved. Now I have the punch line and know how to use Mail Template with SecureMailHost: Do it yourself and never ask for existing solutions. If possible invent the wheel again.! Thanks for your shopping and car examples :) Andreas Jung [EMAIL

Re: [Zope] MailHost with SSL

2006-12-07 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 7. Dezember 2006 00:38:04 -0800 Ferhat Ayaz [EMAIL PROTECTED] wrote: Yes, thanks. You're so adroit. Now my problem is solved. Now I have the punch line and know how to use Mail Template with SecureMailHost: Do it yourself and never ask

Re: [Zope] MailHost with SSL

2006-12-07 Thread Chris Withers
Andreas Jung wrote: Modifying likely one line of code is elegant enough. If you want a better car you have to pimp it. If you do make any changes, can you chuck a patch in the tracker: https://secure.simplistix.co.uk/support ? It's annoying that we still have to use such clunky means in

[Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
107106Hi; The following doesn't work in a Script (Python), presumably because I can't quote html: print htmlbodyHello, world!/body/html return printed What should I use instead? TIA, Nancy Do you

Re: [Zope] Simple Question

2006-12-07 Thread Jonathan
you should just be able to do: print htmlbodyHello World/body/html return printed Jonathan - Original Message - From: Nancy Donnelly To: zope@zope.org Sent: Thursday, December 07, 2006 1:53 PM Subject: [Zope] Simple Question 107106Hi; The following doesn't work in a

Re: [Zope] Simple Question

2006-12-07 Thread Ferhat Ayaz
Read the template script when adding new Script(Python) On Dec 7, 2006, at 7:53 PM, Nancy Donnelly wrote: 107106 Hi; The following doesn't work in a Script (Python), presumably because I can't quote html: print htmlbodyHello, world!/body/html return printed What should I use instead?

Re: [Zope] changing the meta_type for python product class

2006-12-07 Thread Dieter Maurer
Dragos Chirila wrote at 2006-12-6 20:53 +0200: Ok, you are right, but if I do it why the ZMI is showing to me the new meta type for both instances? This is wrong... You have to distinquish between attributes defined on class and those defined on instance level. Attributes defined on class level

Re: [Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
- Original Message From: Jonathan [EMAIL PROTECTED] DIV { MARGIN:0px;} you should just be able to do: print htmlbodyHello World/body/html return printed Um, yes, but it's a little more complicated than just one line :) How do I do it with triple quote? TIA, Nancy

Re: [Zope] Zope/Cache/Memory

2006-12-07 Thread Dieter Maurer
kevin7kal wrote at 2006-12-6 14:30 -0500: I have a database that is just under 200K objects with plans that it will grow larger. The objects are created by using another object with methods that read files and create the objects from the data in the files. When creating the objects, I find I

Re: [Zope] Simple Question

2006-12-07 Thread Andrew Milton
+---[ Nancy Donnelly ]-- | 7170 | - Original Message | From: Jonathan [EMAIL PROTECTED] | | Here is the page that I need to quote, and this is why I need triple quotes: | | print | html | body | | tal:block metal:define-macro=main | tal:content

Re: [Zope] Simple Question

2006-12-07 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7 Dec 2006, at 21:41, Andrew Milton wrote: | The question is why Rachel did not read the Python tutorial: | | http://docs.python.org/tut/node5.html Who is Rachel? d8) Rachel is Nancy is countless other names. Someone who apparently has a

Re: [Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
7373- Original Message From: Maciej Wisniowski [EMAIL PROTECTED] All of that worked, but so much for being simple. Upon re-analysis, what I need to do is call a Script (Python) from within a page template but still retain the container.REQUEST from the previous call. That is, page

Re: [Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
112- Original Message From: Jonathan [EMAIL PROTECTED] DIV { MARGIN:0px;} A single 'request' from a user can be handled by multiple python scripts (ie. you get a user request, you invoke script A, script A calls script B, script B calls script C...) and all of the scripts will

Re: [Zope] Simple Question

2006-12-07 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 7. Dezember 2006 22:24:01 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7 Dec 2006, at 21:41, Andrew Milton wrote: | The question is why Rachel did not read the Python tutorial: | |

Re: [Zope] Simple Question

2006-12-07 Thread eXt
Dnia piątek, 8 grudnia 2006 00:32, Nancy Donnelly napisał: Hmmm. I have a problem. The following code works perfectly with the system I have set up on about 400 pages...something I clearly wouldn't want to re-edit...*except* for the 2nd line, which calls a script. Now, that second line *by

[Zope-Checkins] SVN: Zope/branches/2.9/ support for Python 2.4.4

2006-12-07 Thread Andreas Jung
Log message for revision 71480: support for Python 2.4.4 Changed: U Zope/branches/2.9/configure U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/configure === --- Zope/branches/2.9/configure

[Zope-Checkins] SVN: Zope/trunk/configure support for Python 2.4.4

2006-12-07 Thread Andreas Jung
Log message for revision 71482: support for Python 2.4.4 Changed: U Zope/trunk/configure -=- Modified: Zope/trunk/configure === --- Zope/trunk/configure2006-12-07 16:10:56 UTC (rev 71481) +++ Zope/trunk/configure

[Zope-dev] Zope Tests: 8 OK, 1 Failed

2006-12-07 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Dec 6 12:00:00 2006 UTC to Thu Dec 7 12:00:00 2006 UTC. There were 9 messages: 9 from Zope Unit Tests. Test failures - Subject: FAILED (failures=2) : Zope-2.8 Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Dec 6