Re: [Repoze-dev] page directive sci-fi

2009-09-15 Thread Iain Duncan
On Mon, 2009-09-14 at 01:08 -0400, Chris McDonough wrote: > Tim Hoffman wrote: > > Hi Chris > > > > You are correct, I just didn't want to see the "view" directive just > > disappear and be left with a "page" implementation ;-). > > I just baked all this behavior into the "view" directive on the

Re: [Repoze-dev] page directive sci-fi

2009-09-15 Thread Reed O'Brien
On Sep 13, 2009, at 1:59 PM, Chris Rossi wrote: > This looks reasonable. I think it would also be reasonable to just > make this the standard 'view' functionality, since afaict the > current functionality is a subset of this. +1 for adding the attributes/functionality below as options to the

Re: [Repoze-dev] page directive sci-fi

2009-09-13 Thread Chris McDonough
Tim Hoffman wrote: > Hi Chris > > You are correct, I just didn't want to see the "view" directive just > disappear and be left with a "page" implementation ;-). I just baked all this behavior into the "view" directive on the trunk. There are no backwards incompatibilities. - C ___

Re: [Repoze-dev] page directive sci-fi

2009-09-13 Thread Tim Hoffman
Hi Chris You are correct, I just didn't want to see the "view" directive just disappear and be left with a "page" implementation ;-). T On Mon, Sep 14, 2009 at 10:34 AM, Chris Rossi wrote: > I may be missing something that makes this impossible, but my point was that > you could probably add it

Re: [Repoze-dev] page directive sci-fi

2009-09-13 Thread Chris Rossi
I may be missing something that makes this impossible, but my point was that you could probably add it to the existing implementation without changing how any existing applications work. The existing functionality is all there as a subset of the new stuff. But I haven't stared at it for too long

Re: [Repoze-dev] page directive sci-fi

2009-09-13 Thread Tim Hoffman
Hi I am not too sure about making this the default 'view' implementation or at least we need to retain the existing the simpler view directive. I many cases I am/need to identify the template used much later in the process, so for me baking the template name in the view directive is certainly not

Re: [Repoze-dev] page directive sci-fi

2009-09-13 Thread Chris Rossi
This looks reasonable. I think it would also be reasonable to just make this the standard 'view' functionality, since afaict the current functionality is a subset of this. Chris On Sun, Sep 13, 2009 at 12:57 PM, Chris McDonough wrote: > Here's some sci fi I wrote up about a "page" ZCML direct