Author: chrisz
Date: Sun Dec 11 02:43:48 2005
New Revision: 3974
Modified:
Webware/trunk/KidKit/Docs/RelNotes-X.Y.phtml
Webware/trunk/KidKit/Docs/UsersGuide.phtml
Webware/trunk/KidKit/KidServletFactory.py
Log:
Fixed a bug reported by Frank Barknecht. Setting KidOutputMethod had no effect.
Modified: Webware/trunk/KidKit/Docs/RelNotes-X.Y.phtml
==============================================================================
--- Webware/trunk/KidKit/Docs/RelNotes-X.Y.phtml (original)
+++ Webware/trunk/KidKit/Docs/RelNotes-X.Y.phtml Sun Dec 11 02:43:48 2005
@@ -34,7 +34,9 @@
<a name="Bugfixes"></a><h2>Bugfixes</h2>
<ul>
- <li>...</li>
+ <li>The output method could only be changed for every template individually.
+ Changing the default output method by setting <code>KidOutputMethod</code>
+ in <span class="filename">Application.config</span> now works as well.</li>
</ul>
<% footer() %>
\ No newline at end of file
Modified: Webware/trunk/KidKit/Docs/UsersGuide.phtml
==============================================================================
--- Webware/trunk/KidKit/Docs/UsersGuide.phtml (original)
+++ Webware/trunk/KidKit/Docs/UsersGuide.phtml Sun Dec 11 02:43:48 2005
@@ -14,7 +14,7 @@
unique features making it an amazing modern alternative to PSP.</p>
<p>Kid and KidKit are currently under development, so consider
-KidKit still <em>alpha</em> at the moment (October 2005).
+KidKit still <em>alpha</em> at the moment (December 2005).
If you use Kid a lot, feel free to improve this component.</p>
<h2>Requirements</h2>
@@ -28,7 +28,7 @@
and ElementTree from
<a href="http://effbot.org/downloads/#elementtree">effbot.org/downloads/#elementtree</a>.</p>
-<p>The current KidKit was tested with Kid versions from 0.6 up to 0.7.1,
+<p>The current KidKit was tested with Kid versions from 0.6 up to 0.8,
and Element Tree 1.2.6. Other versions may work as well.</p>
<h2>Feedback</h2>
Modified: Webware/trunk/KidKit/KidServletFactory.py
==============================================================================
--- Webware/trunk/KidKit/KidServletFactory.py (original)
+++ Webware/trunk/KidKit/KidServletFactory.py Sun Dec 11 02:43:48 2005
@@ -75,7 +75,8 @@
def __init__(self,application):
ServletFactory.__init__(self, application)
setting = application.setting
- defaultOutput = setting('KidOutputMethod')
+ global defaultOutput # the default output method
+ defaultOutput = setting('KidOutputMethod', defaultOutput)
self._cacheTemplates = setting('CacheKidTemplates', True)
self._useCache = setting('UseKidKitCache', False)
if self._useCache:
|