Re: [Repoze-dev] ? about owrap

2009-08-25 Thread Robert Marianski
On Wed, Aug 26, 2009 at 09:32:32AM +0800, Tim Hoffman wrote: > Hi Robert > > I am coming pretty late to your discussion about owrap, from what I have > gleaned it does look interesting and potentially very > useful for a project I am working on. > > From looking at the code and the dummyapp it lo

[Repoze-dev] ? about owrap

2009-08-25 Thread Tim Hoffman
Hi Robert I am coming pretty late to your discussion about owrap, from what I have gleaned it does look interesting and potentially very useful for a project I am working on. >From looking at the code and the dummyapp it looks like its almost inverting the relationship between a views template an

Re: [Repoze-dev] owrap layout through zcml

2009-08-25 Thread Robert Marianski
On Mon, Aug 24, 2009 at 10:11:04PM -0400, Chris McDonough wrote: > I like this. > > Some variations: > > - Have IOWrap be a multiadapter on context and request, so we can vary the > o-wrap based on request type too (e.g. "IManagementRequest" vs. > "IRetailRequest"). Good idea. I'll go ahead an

Re: [Repoze-dev] owrap layout through zcml

2009-08-25 Thread Malthe Borch
2009/8/24 Chris McDonough : > Malthe said it might be possible to register one or more new TAL expression > types (each of which might represent a namespace) so templates could do > something like tal:content="api:something" (note colon instead of dot) to get > top-level names instead.  The view wo