Re: [Zope-dev] ZPatterns question

2001-01-05 Thread Chris Withers
Christian Scholz wrote: > > > yeah, this is exactly what I'm after too. I'd like the virtual objects > > the specialist is responsible for to have normal Zope management > > screens. > > Well, I think this shouldn't be too difficult to create. Just a subclass > of Specialist and add some Content

Re: [Zope-dev] ZPatterns question

2001-01-04 Thread Christian Scholz
Hi! > > Well, virtual in the sense as a specialist is no real folder but can > > provide content from different sources. Thus what I mean is some mechanism > > which emulates objectIds() etc. so it looks to the user (and the ones > > using it via dtml) like a normal folder object. > > Somehow lik

Re: [Zope-dev] ZPatterns question

2001-01-04 Thread Chris Withers
Christian Scholz wrote: > > Well, virtual in the sense as a specialist is no real folder but can > provide content from different sources. Thus what I mean is some mechanism > which emulates objectIds() etc. so it looks to the user (and the ones > using it via dtml) like a normal folder object.

Re: [Zope-dev] ZPatterns question

2001-01-03 Thread Christian Scholz
Hi Steve! On Thu, Dec 28, 2000 at 10:45:46PM +, Steve Alexander wrote: > 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 someth

Re: [Zope-dev] ZPatterns question

2001-01-03 Thread Christian Scholz
Hi! Actually should answer to these posts... ;-) On Thu, Dec 28, 2000 at 03:11:37PM -0500, Steve Spicklemire wrote: > > Hi Christian, > > Well, nobody else answered that I saw... so I'll take a crack > at your questions > > > "CS" == Christian Scholz <[EMAIL PROTECTED]> writes: > >

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 question

2000-12-27 Thread Christian Scholz
Hi there! Finally I managed to get a basic understanding of how to do things with ZPatterns ;-) So seems quite cool :) (and hopefully I find some time to write some basic howto about it) But I have some little questions: 1. Is it possible to retrieve the set of known IDs from a specialist?

Re: [Zope-dev] ZPatterns Question

2000-08-10 Thread Phillip J. Eby
At 11:58 PM 8/9/00 +0100, Steve Alexander wrote: > >1: ZClass instances can have PropertySheets added to them, independently >of any sheets declared in the ZClass class definition. > >I've been working with Zope for a while, but this had never occurred to >me. I guess this is just another one of t

[Zope-dev] ZPatterns Question - Talking to a Specialist....

2000-08-10 Thread Steve Spicklemire
Hmm... this is probably more of a plain Zope question than a ZPatterns question.. but since I'm *using* ZPatterns, I thought I'd check what other folks are doing to implement apps with ZPatterns. I've been creating Specialists with DataSkin subclassed objects in their defaultRacks. The methods

Re: [Zope-dev] ZPatterns Question

2000-08-09 Thread Steve Alexander
Thanks for your answers, Phillip. Here's what I've learned. I still need to try these out on a test system, to prove to myself that they work the way I think they do. 1: ZClass instances can have PropertySheets added to them, independently of any sheets declared in the ZClass class definition.

Re: [Zope-dev] ZPatterns Question

2000-08-08 Thread Phillip J. Eby
At 06:07 PM 8/8/00 +0100, Steve Alexander wrote: >"Phillip J. Eby" wrote: >> >> Actually, neither relates. Property sheets created on ZClasses always have >> their data stored in attributes of the object itself, so if you want to >> control those property sheets you would not use a sheet provide

Re: [Zope-dev] ZPatterns Question

2000-08-08 Thread Steve Alexander
"Phillip J. Eby" wrote: > > Actually, neither relates. Property sheets created on ZClasses always have > their data stored in attributes of the object itself, so if you want to > control those property sheets you would not use a sheet provider at all. > Sheet providers are only used to provide