On 4/21/10 11:23 , Chris McDonough wrote:
> The spelling:
>
>     <route name="route-name" path="/some/path" view=".some.view"/>
>
> Is syntactic candy that can also be spelled like this:
>
>     <route name="route-name" path="/some/path"/>
>     <view view=".some.view" route_name="route-name"/>
>
> So you can probably do this:
>
>     <route name="route-name" path="/some/path"/>
>
>     <view view=".some.view" route_name="route-name"
>        wrapper="some-other-view"/>
>     <view view=".some.other_view" route_name="route-name"
>         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

Reply via email to