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

2006-01-10 Thread Marius Gedminas
On Tue, Jan 03, 2006 at 05:37:30PM -0500, Wade Leftwich wrote: > Marius Gedminas wrote: > > On Thu, Dec 29, 2005 at 11:22:28PM -0700, Jeff Shell wrote: > >>Again, this is to have URLs like: > >> > >>myapp/@@tags/zope/viewlet > > How about this? It gives > zope.app.publication.publicationtraverse.P

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

2006-01-03 Thread Wade Leftwich
Marius Gedminas wrote: > 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 =

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

2005-12-31 Thread Jeff Shell
On 12/31/05, Marius Gedminas <[EMAIL PROTECTED]> wrote: > 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(sel

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()

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,