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

2005-12-31 Thread Marius Gedminas
On Thu, Dec 29, 2005 at 11:22:28PM -0700, Jeff Shell wrote: Again, this is to have URLs like: myapp/@@tags/zope/viewlet And turn that into a catalog search for anyof {'zope', 'viewlet'} def publishTraverse(self, request, name): namestack = request.getTraversalStack()

[Zope3-Users] Confused by ITraversable

2005-12-31 Thread Wade Leftwich
I guess I don't understand traversal at all. I am trying to come up with the simplest possible class to exercise the ITraversable interface. Here's what I have: ### from zope.interface import implements from zope.app.traversing.interfaces import ITraversable class TravTestFlag(Exception):

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

2005-12-31 Thread Florian Lindner
Am Freitag, 30. Dezember 2005 20:57 schrieb 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

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

2005-12-31 Thread Florian Lindner
Does anyone got this mail? I've not received a copy from the mailinglists neither it shows up in the archives... Am Freitag, 30. Dezember 2005 20:57 schrieb Jeff Shell: On 12/30/05, Florian Lindner [EMAIL PROTECTED] wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von

Re: [Zope3-Users] Container Constraints

2005-12-31 Thread Jeff Shell
First - you can use ``from zope.app.container.constraints import contains``. It's a bit easier to write. Anyways, in Python you can't reference the class you're in because that name, 'ILinkContainer' does not exist **until the end of the class statement** (after all of the things indented within

[Zope3-Users] problem Z3+cpsskins

2005-12-31 Thread Hector Miuler Malpica Gallegos
Hi friends, i have a problem actually use cpsskins of svn.z3lab.org and the zope3 of svn (svn.zope.org), whenever I want to create a subject shows the following error: AttributeError: 'NoneType' object has no attribute 'newIdentifier' after looking for, the error occurs in this file