[Zope3-Users] Re: URGENT RFC: Is anyone using response.write in Zope 3?

2005-12-30 Thread Philipp von Weitershausen
Jim Fulton wrote: When we refactored the Zope 3 pubisher to work more closely with WSGI, we decided to remove the response.write method. We should have written a proposal for this, but we failed to do so. Over the last few weeks there has been much discussion of this in which I asserted many

[Zope3-Users] Re: substitute for deprecated response.write()?

2005-12-30 Thread Philipp von Weitershausen
Adam, first, thanks for bringing this to my attention! I wasn't aware at all that one of my examples was using response.write(). It wouldn't have changed anything, I think, as I think response.write() was bound to go anyways, but at least I should have reacted in some sort of way. Sorry about

[Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Philipp von Weitershausen
Florian Lindner wrote: Am Mittwoch, 28. Dezember 2005 14:48 schrieb Jim Fulton: Florian Lindner wrote: Hello, how can I get all classes that implement a specific interface? What interface do I need to search for, when I want all objects that can be added and work as container? IContainer seem

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Florian Lindner
Am Freitag, 30. Dezember 2005 10:20 schrieb Philipp von Weitershausen: Florian Lindner wrote: Am Mittwoch, 28. Dezember 2005 14:48 schrieb Jim Fulton: Florian Lindner wrote: Hello, how can I get all classes that implement a specific interface? What interface do I need to search for, when I

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Philipp von Weitershausen
Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically. Right now I have forked a version of the HomefolderManager and just changed in the code. But I would like to have

[Zope3-Users] Re: URGENT RFC: Is anyone using response.write in Zope 3?

2005-12-30 Thread Jim Fulton
Philipp von Weitershausen wrote: Jim Fulton wrote: When we refactored the Zope 3 pubisher to work more closely with WSGI, we decided to remove the response.write method. We should have written a proposal for this, but we failed to do so. Over the last few weeks there has been much discussion

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jim Fulton
Philipp von Weitershausen wrote: Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically. Right now I have forked a version of the HomefolderManager and just changed in the

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Florian Lindner
Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically. Right now I have forked

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jeff Shell
On 12/30/05, Florian Lindner [EMAIL PROTECTED] wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: So, what you want is not a list of classes but a list of factories that can create IContainers. This is possible by using

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jeff Shell
Oops. It didn't seem to provide the code. Ahhh, GMail. Not even you can convince me that web based mail is going to replace real clients... And if there are multiple copies of this message, I apologize. from zope.interface import Interface, implements from zope.app import zapi from zope.event

Re: [Zope3-Users] Specialized URL traversal.. Best way?

2005-12-30 Thread Wade Leftwich
Jeff Shell wrote: [snip] I was wondering - is this the best way to do this? Is there a better recipe floating around out there? I appreciate Zope's direct-to-object URL publishing (been using it since '97!), but custom URL maps past a certain object like a view seem to be quite tricky,

Re: [Zope3-Users] Zope3 build error

2005-12-30 Thread cmire
Just in case anyone else runs into this problem, the solution is to install python-devel (might be called python-dev for non SuSE distros). Charles On Thursday 29 December 2005 4:01 pm, cmire wrote: I'm getting an error when I run make on Zope 3.1.0. The system is running SuSE 10.0, Python

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jim Fulton
Florian Lindner wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically.