Re: [Zope-dev] ZPatterns question

2000-12-28 Thread Steve Alexander
Steve Alexander wrote: > > return getattr(container.path.to.somewhere, name) > > That's the simple version, and it won't give the traversed-to object the > correct context most of the time. To do that, I'd need to use an > external method, and use the __of__ method to give the returned objec

Re: [Zope-dev] ZPatterns question

2000-12-28 Thread Steve Alexander
Steve Spicklemire wrote: > > CS> 2. Is it planned to provide something like a virtual folder > CS> which acts like a normal object manager but is controlled via > CS> ZPatterns (so actually something like Folder with Customizer > CS> Support just without the "anchor" in ZODB. (w

Re: [Zope-dev] ZPatterns question

2000-12-28 Thread Steve Spicklemire
Hi Christian, Well, nobody else answered that I saw... so I'll take a crack at your questions > "CS" == Christian Scholz <[EMAIL PROTECTED]> writes: CS> Hi there! CS> Finally I managed to get a basic understanding of how to do CS> things with ZPatterns ;-) So seems quite

[Zope-dev] ZPatterns example update....

2000-12-28 Thread Steve Spicklemire
Hi Folks, The Dumb ZPatterns example is updated. Now there is some more realistic object referencing going on, borrowing of code snippets between Specialists and suchlike. There is also more in the way of reasonable documentation, though everything is in flux, and it still doesn't resemble a