Ticket #1355 (closed enhancement: fixed)
[PATCH] Widgets automatically call ET() in Genshi templates
|Reported by:||paj||Owned by:||anonymous|
At the moment, if you are using TGWidgets and Genshi templates you have to surround all widgets with ET(). This patch makes the ET() calls automatically. It maintains compatibility with kid and nested widgets, by storing state in cherrypy.request.
The patch only solves this specific problem. It does not allow you to use Genshi templates inside TGWidgets.
The main problem with the patch is that if you do call ET() now, you get an error. Fixing that would probably require a change to Genshi, or some very dodgy monkeypatching. Also, this requires Genshi 0.4.
- Priority changed from high to normal
- Milestone changed from __unclassified__ to 1.1
- Summary changed from Widgets automatically call ET() in Genshi templates to [PATCH] Widgets automatically call ET() in Genshi templates