Of course it ***could be***, the question is -at least I thought so - is in normal practice, what's desirable? Normally the default page is some kind of gateway to other material. If you want to prevent that, just use an image or something else with no links. But I'm not about to get into a shoving contest about this, it just points out the lack of clarity about the original question and the previous suggestions. If they had been clear about the subject, we wouldn't have posted these last several responses. Tom P [<rlanham@speakeasy.net>]
You know... index_html could be an image, or anthing that a browser can render, and it'll still work as the default object that zope calls.
The previous note on this, below, is not correct--aside from acronym.
Richard
------------ Original Message ----------- From: Thomas B. Passin <tpassin@mitretek.org> Date: Wed, 27 Jun 2001 11:10:48 -0400
I think that the previous posts on this subject have mixed up two different thoughts, and I would like to clearly separate them.
1) Should index_html BE a DHTML document or should it be a DHTM method?
2) Should index_html USE DHTML methods?
On number 1) it needs to be a document, not a method. It will be requested from a browser and needs to have its own context, including the REQUEST and so on, so it needs to be a document.
On number 2), index_html may very well use DHTM methods as a convenience to avoid cramming all the code into one page, which would also prevent any reuse of that code.
Jan Sew, does this answer your question?
Cheers,
Tom P
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )