vandevel schrieb:
> Thanks for posting this code Chris! It does work but I've run into a
> minor quirk.
> I am using genshi templates and the error page  includes a master
> template within which a few variable references are declared.
> If the expected parameters are not passed in you won't see the usual
> genshi error; the error page will simply not display and the default
> cherrpy Traceback  will display instead.

Short answer: the code is not Genshi compatible yet.

Long answer: you can probably get it to work by supplying Genshi error
templates yourself and setting the "tg.defaultview" to "genshi". You can
probably just copy the kid templates over to "*.html" and change the
HTML doc type and head section accordingly.

Chris

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