[Zope] Re: OOP and Zope.

2005-08-22 Thread Josef Meile
Dieter Maurer wrote: Fernando Lujan wrote at 2005-8-19 12:16 -0600: I try to find information about programming in Zope with the OO paradigm. I didn't find many documentation... For instance, how can I define classes and instances once I just work with dtml-methods and dtml-documents? You

[Zope] SQLConnectionIds

2005-08-22 Thread Nicholas Wieland
Again, this problem is making me mad :) This is a simple TTW PageTemplate I'm using: html body ul tal:repeat="dba here/SQLConnectionIDs" li tal:content="dba" placeholder /li /ul body /html This works without any problem, returning a list of tuples. The same template in a FS based product

Re: [Zope] Re: OOP and Zope.

2005-08-22 Thread Fernando Lujan
On 8/22/05, Josef Meile [EMAIL PROTECTED] wrote: Yes, some people wants to drop them, but that is just a part of the problem. Their bugs aren't a priority know, so, if I were the OP, I wouldn't use them for a new development. I would use python based products, which are also OO. I have a good

Re: [Zope] Re: OOP and Zope.

2005-08-22 Thread Lennart Regebro
On 8/22/05, Fernando Lujan [EMAIL PROTECTED] wrote: I have a good knowledge of using python, there's some tutorial about using it inside Zope with a OO design? For Zope2, the previously mentioned Zope Developers Guide: http://www.zope.org/Documentation/Books/ZDG/current ZopeWiki put a lot of

Re: [Zope] Re: OOP and Zope.

2005-08-22 Thread Dieter Maurer
Fernando Lujan wrote at 2005-8-22 06:01 -0600: I have a good knowledge of using python, there's some tutorial about using it inside Zope with a OO design? The Zope Developper Guide? -- Dieter ___ Zope maillist - Zope@zope.org

Re: [Zope] SQLConnectionIds

2005-08-22 Thread Dieter Maurer
Nicholas Wieland wrote at 2005-8-22 11:47 +0200: Again, this problem is making me mad :) This is a simple TTW PageTemplate I'm using: html body ul tal:repeat=dba here/SQLConnectionIDs li tal:content=dba placeholder /li /ul body /html This works without any problem, returning a list

Re: [Zope] Help me with acquisition and custom types

2005-08-22 Thread Dieter Maurer
Mark Gibson wrote at 2005-8-21 12:38 -0600: I've created two objects, A folderish object called myfolder, and a document-type object called mydocument. Here's how my classes are defined... class mydocument( CatalogAware, Implicit, Persistent,

Re: [Zope] Workflow question

2005-08-22 Thread Dieter Maurer
David Pratt wrote at 2005-8-21 23:43 -0300: ... # Catch put in traversal def __bobo_traverse__(self, REQUEST): method=REQUEST.get('REQUEST_METHOD', 'GET') if method == 'PUT': PUT(REQUEST, RESPONSE) Usually, __bobo_traverse__ gets

Re: [Zope] Workflow question

2005-08-22 Thread David Pratt
Hi Dieter. On Monday, August 22, 2005, at 01:45 PM, Dieter Maurer wrote: David Pratt wrote at 2005-8-21 23:43 -0300: ... # Catch put in traversal def __bobo_traverse__(self, REQUEST): method=REQUEST.get('REQUEST_METHOD', 'GET') if method ==

[Zope] max 2 levels of indirection?

2005-08-22 Thread Sean Dunn
Im running Zope 2.0.7, and Im having a problem.. Consider me a newbie, as Ive only been using Zope for a few weeks. After boiling the problem down to a test case, it seemed that I couldnt have a DTML method call a DTML method which then calls a Python script. But then I realized it was

Re: [Zope] max 2 levels of indirection?

2005-08-22 Thread J Cameron Cooper
Sean Dunn wrote: I’m running Zope 2.0.7, and I’m having a problem.. Consider me a newbie, as I’ve only been using Zope for a few weeks. After boiling the problem down to a test case, it seemed that I couldn’t have a DTML method call a DTML method which then calls a Python script. But then I

[Zope] ZASync method calls

2005-08-22 Thread Jan-Ole Esleben
Hi! I'm having a really complicated problem that I don't know how to put into words properly, because I'm really vague on what's causing it and the setup is highly involved; I would be _really_ glad if someone could help me out with this: I have a ZOPE instance (connected to a ZEO server)

[Zope-Coders] Zope tests: 8 OK

2005-08-22 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Sun Aug 21 11:01:01 2005 UTC to Mon Aug 22 11:01:01 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Sun Aug 21 22:23:52 EDT

[Zope-dev] Python 2.4 with zope 2.7.6, on Windows

2005-08-22 Thread Aruna Kathiria
Hello Everyone: Is it possible to use Python 2.4 with Zope 2.7.6 on windows plateform? I come to know how to use them on UNIX from /doc/INSTALL.txt but don't know how to install and use Python 2.4 and Zope 2.7.6 on windows platform. By default Zope 2.7.6 is bundled with Python 2.3.5. For some

Re: [Zope-dev] Python 2.4 with zope 2.7.6, on Windows

2005-08-22 Thread Jens Vagelpohl
On 22 Aug 2005, at 07:53, Aruna Kathiria wrote: Hello Everyone: Is it possible to use Python 2.4 with Zope 2.7.6 on windows plateform? I come to know how to use them on UNIX from /doc/INSTALL.txt but don't know how to install and use Python 2.4 and Zope 2.7.6 on windows platform. By

Re: [Zope-dev] Python 2.4 with zope 2.7.6, on Windows

2005-08-22 Thread Dieter Maurer
Aruna Kathiria wrote at 2005-8-21 23:53 -0700: Is it possible to use Python 2.4 with Zope 2.7.6 on windows plateform? We use Python 2.4 with Zope 2.7.2. However (!) I had to fix a few places (identified by failing test cases from Zope quite extensive test suite). Apparently, Zope 2.8.1 is

RE: [Zope-dev] Python 2.4 with zope 2.7.6, on Windows

2005-08-22 Thread Aruna Kathiria
Yeah, it's true that I have to use Python 2.4 with Zope 2.7.6 Also I can't go for Zope 2.8.1. I also tried to fix few places but still cannot. Dieter, do you remember what and where you had to fix? Thanks.. With Regards, Aruna Kathiriya Sr.Consultant, CIGNEX Technologies, Inc T:

Re: [Zope-dev] coverage.py, profile and hotshot support in Zope's testrunner

2005-08-22 Thread Jim Fulton
Stefane Fermigier wrote: Sidnei da Silva wrote: On Sun, Aug 21, 2005 at 10:20:28AM +0200, Stefane Fermigier wrote: | I have added support for coverage analysis using coverage.py from Gareth | Rees and Ned Batchelder, as well as support for profiling using either the | profile or hotshot

Re: [Zope-dev] Re: ZServer response RFC compliance improvement

2005-08-22 Thread Michael Dunstan
On 8/22/05, Tres Seaver [EMAIL PROTECTED] wrote: Are we sure that we won't be breaking the rather large possible set of installed servers running behind Apache 1.3.x with the bug for which adding the content length was a workaround? I understand that this bug was resolved in Apache 1.3.27 [1].