When using CRUDRestController, is there a way to implement REST style
URLs as follows?
    http://website.com/controller_1/arg_11/arg_12/controller_2/arg_21/arg_22

It seems the CRUDRestController is not derived from
ObjectDispatchController, so the new TG2 'lookup' method does not
apply.  As a workaround, I am trying to implement the above by
instantiating controller2  within controller1's get_one() method.

References:
http://turbogears.org/2.0/docs/modules/tgcontroller.html#tg.controllers.DecoratedController
http://turbogears2.sourcearchive.com/documentation/2.0.1/controllers_8py-source.html


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to