[z3-five] Bug in defaultView?
Lennart Regebro
regebro at gmail.com
Mon Oct 9 13:47:23 CEST 2006
On 10/8/06, Richard Waid <richard at iopen.net> wrote:
>I'm not clear why:
>
> <five:defaultViewable class="OFS.Folder.Folder"/>
>
> which is _required_ in the Zope-2.9 version of Five to let the
> browser:defaultView directive work, also enforces 'index.html' as the
> default (independently of the browser:defaultView directive).
Ah. Correct, it is not clear why. But that's how it is. If it's good
or bad I don't know. :)
In any case, you basically do not need five:defaultViewable unless you
also want to set browser:defaultView, so it shouldn't be a problem,
right?
> I realise this is probably irrelevant now, since it doesn't work like
> this in Zope-2.10.
Well, I think defaultViewable will still set the default to
index.html, if I remember correctly. But you don't need it any more,
correct.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.nuxeo.org/
More information about the z3-five
mailing list