Frank Barknecht schrieb:
I think, I have a bug in my kid-template somewhere. The included
examples now all function correctly and render in the format that was
set in Application.config.
I have checked in the fix; it will be included in the next version. By
the way, you can also set the
Hi,
somehow I cannot get the setting for KidOutputMethod to work with
Webware 0.9.
Even when it is set to xhtml or xhtml-strict pages are still
rendered as HTML with ugly uppercase TAGS - well, at least I see
immediatly that something is still wrong. ;)
So I digged into KidServletFactory.py
Hi Frank,
somehow I cannot get the setting for KidOutputMethod to work with
Webware 0.9.
I've just had a look at it and you're right - this is a bug.
I also managed to get nice, lowercase xhtml by changing class
KidServletFactory's __init__ to explicitely use the global
defaultOutput:
Hallo Christoph,
Christoph Zwerschke hat gesagt: // Christoph Zwerschke wrote:
Excactly that's the bug. The global statement was missing in the
__init__ method. But are you sure that the above ever worked? The global
statement cannot be combined with an assignment. I think you have to: