ZClass called index_html containing index_html method
I have a ZClass that has a view method. So if I have an instance of the class called myZclass it can be called by itself and show the view method (myZclass/index_html in reality). But when I call the ZClass index_html, it doesn't like it very much. Resource not found Sorry, the requested resource does not exist. Check the URL and try again. But index_html/index_html does work. Any tips? I would like to automatically call the view method so should I call it something else or add some magic to my ZClass? __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
Look at the Renderable base class http://www.zope.org/Members/lalo/Renderable-ZClass HTH, Stefan --On Donnerstag, 08. August 2002 05:26 -0700 Zope Ista <zopeless@yahoo.com> wrote:
I have a ZClass that has a view method. So if I have an instance of the class called myZclass it can be called by itself and show the view method (myZclass/index_html in reality).
But when I call the ZClass index_html, it doesn't like it very much.
Resource not found Sorry, the requested resource does not exist.
Check the URL and try again.
But index_html/index_html does work.
Any tips? I would like to automatically call the view method so should I call it something else or add some magic to my ZClass?
__________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
_______________________________________________ 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 )
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
participants (2)
-
Stefan H. Holek -
Zope Ista