[Zope] How to change default method for calling object from the web?

Lubos Culen mirsoft@gmx.net
Wed, 05 Mar 2003 13:26:45 +0100


Hello!

I have a problem:

Let's assume I have object 'obj' and its method 'view' . So, calling the 
object 'obj' from web URL (e.g. 'www.mysite.com/path/obj' ) will display 
content of 'obj'. Calling 'www.mysite.com/path/obj/view' will call method 
'view' of the object 'obj'.

Now I want that the method 'view' should be DEFAULT method for the object 
'obj', so calling 'www.mysite.com/path/obj' should automatically call the 
method 'view' of object 'obj'. Is it possible to do in Zope and how?

-- 
Regards, Mirsoft