Re: [Repoze-dev] wrapped views for routes?

2010-04-23 Thread Iain Duncan
awesome, thanks!

On Wed, Apr 21, 2010 at 2:32 AM, Wichert Akkerman  wrote:

> On 4/21/10 11:23 , Chris McDonough wrote:
> > The spelling:
> >
> > 
> >
> > Is syntactic candy that can also be spelled like this:
> >
> > 
> > 
> >
> > So you can probably do this:
> >
> > 
> >
> >  >wrapper="some-other-view"/>
> >  > name="some-other-view"/>
> >
> > I haven't tried this, but I'm pretty sure it will work.
>
> It does if you do the same thing in python.
>
> Wichert.
> ___
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev
>
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] wrapped views for routes?

2010-04-21 Thread Wichert Akkerman
On 4/21/10 11:23 , Chris McDonough wrote:
> The spelling:
>
> 
>
> Is syntactic candy that can also be spelled like this:
>
> 
> 
>
> So you can probably do this:
>
> 
>
> wrapper="some-other-view"/>
>  name="some-other-view"/>
>
> I haven't tried this, but I'm pretty sure it will work.

It does if you do the same thing in python.

Wichert.
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] wrapped views for routes?

2010-04-21 Thread Chris McDonough
The spelling:

   

Is syntactic candy that can also be spelled like this:

   
   

So you can probably do this:

   

   
   

I haven't tried this, but I'm pretty sure it will work.


On 4/21/10 2:05 AM, Iain Duncan wrote:
> Is there any chance of having wrapped views work on views declared with
> ? ( IE declare a wrapper predicate on a route in zcml )
>
> Seems like it would be handy to be able to do so.
>
> thanks
> Iain
>
>
>
>
>
> ___
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev


-- 
Chris McDonough
Agendaless Consulting, Fredericksburg VA
The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


[Repoze-dev] wrapped views for routes?

2010-04-20 Thread Iain Duncan
Is there any chance of having wrapped views work on views declared with
? ( IE declare a wrapper predicate on a route in zcml )

Seems like it would be handy to be able to do so.

thanks
Iain
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev