diff options
author | Marko Grönroos <magi@iki.fi> | 2008-12-19 13:09:47 +0000 |
---|---|---|
committer | Marko Grönroos <magi@iki.fi> | 2008-12-19 13:09:47 +0000 |
commit | b29a3034a828a1704e4c7ec4c33a3f6369e43849 (patch) | |
tree | 212c6cc1378e34b73cc76435ef0060da5b53f639 /WebContent/release-notes.html | |
parent | 8ebf0242807dd5c68a9d2dc272b8a988d730ccec (diff) | |
download | vaadin-framework-b29a3034a828a1704e4c7ec4c33a3f6369e43849.tar.gz vaadin-framework-b29a3034a828a1704e4c7ec4c33a3f6369e43849.zip |
Toolkit 5.3.0 RC4.
svn changeset:6303/svn branch:trunk
Diffstat (limited to 'WebContent/release-notes.html')
-rw-r--r-- | WebContent/release-notes.html | 47 |
1 files changed, 31 insertions, 16 deletions
diff --git a/WebContent/release-notes.html b/WebContent/release-notes.html index 4ab2869ca1..ea81a06211 100644 --- a/WebContent/release-notes.html +++ b/WebContent/release-notes.html @@ -46,6 +46,32 @@ href="http://code.google.com/webtoolkit/"><span class="icon">GWT web site</span> <p>As GWT now requires Java 5, support for Java 1.4 is discontinued also in IT Mill Toolkit.</p> +<h2>Debug Mode Enabled by Default</h2> + +<p>The debug mode is now enabled by default, to allow debugging layout and other problems +more easily. The debug mode:</p> + +<ul> + <li>Displays debug data to the server console/log.</li> + + <li>Allows showing the client-side logging window, which you can enable by adding the + request parameter "<tt>?debug=true</tt>" to the application URI.</li> + + <li>Adds an "Analyze layouting" -button to the debug window: when pressed, it will show + red markers in potentially problematic layouts and show layout hint texts in the + browser-window and in <tt>System.out</tt>.</li> +</ul> + +<p>You should disable the debug mode when releasing your application for production +use. You can do this by including the following setting in your <tt>web.xml</tt>.</p> + +<pre class="wiki"> <context-param> + <param-name>productionMode</param-name> + <param-value>true</param-value> + <description>IT Mill Toolkit production mode</description> + </context-param> +</pre> + <h2 id="Layoutchanges">Layout Changes</h2> <p>The stable IT Mill Toolkit version 5.3 introduces a major rework of layout components @@ -65,23 +91,12 @@ since the beta versions 5.2.x and before.</p> <h3 id="Usedebugmodeduringdevelopmentdebugging">Use debug mode during development / debugging</h3> <p>Layouts are now more strict than before and some components may even be invisible if -you use relative sizes in a wrong way. You should always have the following parameter in -your <tt>web.xml</tt> file during development:</p> - -<pre class="wiki"> <context-param> - <param-name>Debug</param-name> - <param-value>true</param-value> - <description>IT Mill Toolkit debug mode</description> - </context-param> -</pre> - -<p>This will make Toolkit run some sanity checks for relatively sized components and print -informative error messages to the server console. Invalid components are painted without -their relative size and colored red.</p> +you use relative sizes in a wrong way.</p> -<p>From version 5.3 this parameter is also needed to show the client-side logging window, -which you can enable by adding the request parameter "<tt>?debug=true</tt>" to application -URI.</p> +<p>The debug mode, which is now enabled by default (see above), will make Toolkit run some +sanity checks for relatively sized components and print informative error messages to the +server console. Invalid components are painted without their relative size and colored +red.</p> <h3>OrderedLayout deprecated</h3> |