[z3-five] default view name

Philipp von Weitershausen philipp at weitershausen.de
Thu Jun 9 18:28:13 CEST 2005


Sidnei da Silva wrote:
> On Thu, Jun 09, 2005 at 05:58:39PM +0200, Philipp von Weitershausen wrote:
> | If noone objects, I'll add a
> | 
> |   <browser:defaultView name="index.html" />
> 
> I think that would require one to use overrides to override *wink* the
> default view name. Shouldn't index.html be a fallback value in the
> case no default view is found?

<browser:defaultView name="index.html" /> is that fallback you're 
speaking of. Right now, there's simply no default view behaviour. To 
override, you won't need ZCML overrides. You simply do:

   <browser:defaultView
       for="my.very.own.Interface"
       name="my-very-own-view-name.html"
       />

Philipp



More information about the z3-five mailing list