[Zope] overriding index_html
Tino Wildenhain
tino@wildenhain.de
Wed, 23 May 2001 15:14:15 +0200
Hi Arkaitz,
whats wrong if you just call it not "view" but index_html?
At least its the way I do it.
IF you really want "view" to be an alias to index_html, you can
use an index_html only consisting of a line <dtml-return view>
in your base class.
Regards
Tino
--On Mittwoch, 23. Mai 2001 11:47 +0200 Arkaitz <arkbit@yahoo.com> wrote:
> Hi all,
>
> I'm writing some classes in a Python product, and I'd like to be able to
> override their index_html view so that it can be specified by the folder
> in which the instances reside.
> The idea is that if I have myfolder/view, being "view" a DTMLmethod, and
> I call myfolder/myobject, it will be equivalent to calling
> /myfolder/myobject/view, is this possible?
>
> TIA,
> Arkaitz.
>
>
>
> _______________________________________________
> 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 )