Diez B. Roggisch wrote:
> On Wednesday 10 January 2007 23:25, anderbubble wrote:
>> Once you have @expose()'d a method in controllers.py, any call to that
>> method returns a string, rather than the actual python dict(). Is there
>> a way to bypass this to make controller methods extensible/callable by
>> other controller methods?
> 
> You can always introduce two methods, one that does the work and the other 
> that gets exposed and calls the first one.

Isn't that an obstacle to unit testing your controllers, too?

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
 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