Jorge Vargas wrote:
> or it was just the fact that genshi currently doesn't has a <?python?>

The fact that the widget would have to be instantiated and returned in
the controller (blurring the line between view and controller).  I can
instantiate widgets in kid templates, which conforms to MVC.  Imagine a
case where you use the same method for html and json.  That widget
would not marshal very well by simplejson.

That's the paradigm that I have to have in my application.  Almost
every method could be called via GET/POST, JSONRPC or XMLRPC, so the
default paradigm should not be changed so that you have to return
something not-marshalable by json/xmlrpc in order to use significant
features.

Joseph


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to