Soni Bergraj wrote:
Hello,
I'm using object names (they refer to SQLObjecs) in my urls.
"/objects/my_randome_object/edit/" could be a valid url.

While defining the default method in controller.py works, it bypasses
the neat cherrypy url mapping. This becomes especially cumbersome if you
deal with longer urls (that you have to map manually now) (e. g.
"/objects/my_random_object/edit/wysiwyg/).

Is somebody aware of some means to hook in again, or some other more
convenient way to achieve the above?

I'm looking for a more convenient approach to this same problem myself too.

I'm especially after a way I can do this:

/persons/FooBar/addresses/Postal/edit

As it is, I have to do a backflip or two in the default() handler in order to dispatch to the correct method.

--
Regards,
Stephen Thorne
Development Engineer

Scanned by the NetBox from NetBox Blue
(http://netboxblue.com/)

Reply via email to