[z3-five] default view name
Philipp von Weitershausen
philipp at weitershausen.de
Thu Jun 9 17:58:39 CEST 2005
Hi there,
when an object is traversed in Zope 3 and no view has been provided
explicitly, the traversal machinery will look up a view according to the
default view name for that object. zope.app by default sets this value
to 'index.html', so that for all objects, by default, the 'index.html'
view is looked up when no view is specified. This behaviour can be
changed for every interface individually.
Five emulates this behaviour when you have marked a class with
<five:defaultViewable />. This is good. However, Five doesn't set a
default view name. IMO it should to be as much compliant with Zope 3 as
possible.
If noone objects, I'll add a
<browser:defaultView name="index.html" />
to Five.browser/configure.zcml.
Philipp
More information about the z3-five
mailing list