You can define your manage_options for the class to have something like this: manage_options = ( . . {'label':'View', 'action':'view'}, . . . ) On Wed, May 23, 2001 at 11:47:08AM +0200, Arkaitz 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 )
-- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com Internet Programming http://www.mamey.com ------------------------------------------------------