As far as I understand, currently Buffet renderer is default only for backward compatibility.
The problem with this backward compatibility is that it's rather limited because Buffet is not configured with proper defaults for Genshi [1]. As a result, at least i18n doesn't work out of the box [2], and default output format is html rather than xhtml. Although this issue can be easily fixed by overriding the setup_default_renderer() method in project's app_cfg [2], this solution is not obvious, and I spent hours figuring out how to make i18n in Genshi work. In order to save other 1.9.x users' time, I've submitted a patch along with some additional argumentation [3]. The question is which template lookup will be used with new renderers in future — dotted or search path? Personally, I really like the old dotted lookup because it hides default template filename extension and clearly defines template as if it would be a module. Also, it will require less, if any, changes in docs and paster create templates :) [1] http://trac.turbogears.org/browser/trunk/tg/configuration.py#L212 [2] http://groups.google.com/group/turbogears/browse_thread/thread/6c15e5d1309ab880/2c0eee8ab23b7a11 [3] http://trac.turbogears.org/ticket/2001 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
