Using Pylons-Controller in Turbogears 2.0
If you want to enhance your TG2 app with some tech, like .. say a RPC-XML Interface, you can use the special Controller provided by Pylons: XMLRPCController. Unfortunately you can not just mount this controller as any other Turbogears Controller, because it does not support object dispatch.
Instead you have to use the Pylons function forward to dispatch requests to your controller.
@expose()
def xmlrpc(self, *args, **kw):
return forward(XMLRPCServiceController())