1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vaadin 6</title>
<link rel="stylesheet" type="text/css" href="demo/css/styles.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="demo/css/ie.css" />
<![endif]-->
</head>
<body>
<div id="header">
<h1>Vaadin – thinking of U and I</h1>
<div id="version">
<a href="javascript:history.go(-1);" title="Back to index page">Back</a>
</div>
</div> <!-- /header -->
<div id="content">
<p>Version @version@ built on @builddate@.</p>
<h2><a name="overview">Release Notes for Vaadin @version@</a></h2>
<ul>
<li><a href="#overview">Overview</a></li>
<li><a href="#upgrading">General Upgrade Notes</a></li>
<li><a href="#upgrading-tk5">Instructions for Upgrading from IT Mill Toolkit 5</a></li>
<li><a href="#oophm">Package for the experimental GWT Out-of-Process Hosted Mode</a></li>
<li><a href="#known-problems">Important known problems in Vaadin @version@</a></li>
<li><a href="#changelog">Change Log</a></li>
<li><a href="#requirements">Requirements</a></li>
</ul>
<p>Vaadin @version@ is the first update release for Vaadin 6. In addition to many bug
fixes, the most significant additions are:</p>
<ul>
<li>Google Web Toolkit (GWT) is upgraded to version 1.7. You should recompile custom widget sets using the new version.</li>
<li>Performance improvements (general, <b>Table</b> caching)</li>
<li>Google App Engine (GAE) support.</li>
<li>Maven support</li>
<li>New <b>NativeButton</b> component that always uses the native button in the browser</li>
<li>New <b>CssLayout</b> layout component
<ul>
<li>A fast low-level layout where the contained components are rendered as trivially as possible under a single <tt>div</tt> element.</li>
<li>Result can be similar to <b>VerticalLayout</b> or <b>HorizontalLayout</b>, depending on CSS, but is noticeably faster.</li>
<li>No spacing, alignment or expansion rations, unlike with the more feature rich layouts.</li>
<li>No abstraction of browser differences; you need to make sure the CSS supports all the browser that you want your application to support.</li>
</ul>
<li>Full support for Internet Explorer 8</li>
</ul>
<p>See the <a href="#changelog">Change Log</a> below for a more detailed list of closed issues in this release.</p>
<p>Vaadin @version@ uses Google Web Toolkit 1.7.0, which is included in the <tt>gwt</tt> folder of the installation package.</p>
<h2><a name="upgrading">General Upgrade Notes</a></h2>
<p>When upgrading from an earlier version of the Vaadin library, you should always do the following:</p>
<ol>
<li>Install the new Vaadin JAR to your project</li>
<li>Install new GWT JARs if the GWT version has changed</li>
<li>If you have custom widget sets, recompile them with the new Vaadin library using the included GWT compiler</li>
<li>If using the Eclipse IDE:
<ol type="a">
<li>Refresh the Eclipse project by selecting the project folder and pressing <b>F5</b></li>
<li>Restart the application server</li>
</ol>
</ol>
<p>Using the Vaadin project facet in the Eclipse IDE does the steps 1 and 2 automatically.</p>
<h2><a name="upgrading-tk5">Instructions for Upgrading from IT Mill Toolkit 5</a></h2>
<p>While the Vaadin 6 API is otherwise mostly backward-compatible with IT Mill Toolkit 5.4, the
change of the product name has made it necessary to reflect it in the Java package names,
some name prefixes, and some other details.</p>
<h3>Server-side Upgrade Instructions</h3>
<ul>
<li>Java Package names have changed:</li>
<ul>
<li>In all Java files using IT Mill Toolkit, rename package prefix <tt>com.itmill.toolkit</tt> → <tt>com.vaadin</tt></li>
<li>You also need to update the <tt>web.xml</tt> deployment descriptor:</li>
<ul>
<li>The servlet class is now <b>com.vaadin.terminal.gwt.server.ApplicationServlet</b>.</li>
</ul>
</ul>
<li>Changes in themes:
<ul>
<li>Rename <tt>WebContent/ITMILL</tt> → <tt>WebContent/VAADIN</tt></li>
<ul>
<li>If you have extracted the built-in themes and widgetsets in IT Mill Toolkit JAR to the folder to have them served statically by the server, remove the old content and re-extract from Vaadin JAR.</li>
<li>This may require changes to build scripts for custom widgetsets, as well as to any code that relies on the old naming (it is discouraged but possible).</li>
</ul>
<li>The new "<tt>reindeer</tt>" theme is the default theme in Vaadin; the old
"<tt>default</tt>" theme in IT Mill Toolkit 5 has been renamed as "<tt>runo</tt>"</li>
<ul>
<li>There is no longer a theme with name "<tt>default</tt>"</li>
<li>In your custom theme, replace:
<table><tr><td></td><td><tt>@import "../default/styles.css";</tt></td></tr>
<tr><td align="right">→</td><td><tt>@import "../reindeer/styles.css";</tt></td><td>if you wish to use the new default theme,</td></tr>
<tr><td align="right">or →</td><td><tt>@import "../runo/styles.css";</tt></td><td>if you wish to use the old default theme.</td></tr></table></li>
<li>Use the new default theme with <tt>setTheme("reindeer")</tt> and the old one with <tt>setTheme("runo")</tt>.</li>
</ul>
<li>CSS class names now start with "<tt>v-</tt>" prefix instead of "<tt>i-</tt>"</li>
<ul>
<li>Search and replace "<tt>.i-</tt>" → "<tt>.v-</tt>" in custom themes </li>
</ul>
</ul>
<li>Embedding Vaadin applications in web pages:</li>
<ul>
<li>The name of the JavaScript variable used for launching applications has changed from "<tt>itmill.toolkitConfigurations</tt>" → "<tt>vaadin.vaadinConfigurations</tt>"</li>
</ul>
<li>Other changes in naming:</li>
<ul>
<li>Rename references to <tt>translateToolkitUri()</tt> → <tt>translateVaadinUri()</tt> method in <b>ApplicationConnection</b> class.
</ul>
</ul>
<h3>Client-side Upgrade Instructions</h3>
<p>The following changes are relevant only if you have developed or integrated custom
client-side widgets with Google Web Toolkit (GWT).</p>
<ul>
<li>GWT 1.7 is required for compiling custom widgets (optional)</li>
<ul>
<li>You need to upgrade GWT</li>
<li>The GWT Compiler class name has changed:</li>
<ul>
<li>Replace <tt>com.google.gwt.dev.GWTCompiler</tt> → <tt>com.google.gwt.dev.Compiler</tt> in your widget set build script (Ant) or launch configuration (Eclipse).</li>
<li>Replace the output directory argument for the compiler with the new WAR output argument: <tt>-out</tt> → <tt>-war</tt>. The directory parameter for the argument remains unchanged.</li>
</ul>
<li><i>Possible problems when building widgetset using Windows and JDK 1.5</i>. See <a href="#known-problems">Known Problems</a> #2891 below.</li>
</ul>
<li>The "<b>I</b>" (IT Mill) prefix in client-side widget classes has been changed to "<b>V</b>" (Vaadin), for example: <b>IButton</b> → <b>VButton</b>.</li>
<li>Rename <b>IToolkitOverlay</b> → <b>VOverlay</b>
</ul>
<h2><a name="oophm">Package for the experimental GWT Out-of-Process Hosted Mode</a></h2>
<p>We provide a separate (platform independent) installation package
(<tt>vaadin-oophm-@version@.tar.gz</tt>) for the
experimental Out of Process Hosted Mode (OOPHM) of GWT, which allows
debugging client-side code in GWT Hosted Mode with a regular web
browser. Using the OOPHM requires installing a browser plugin (available
for Mozilla Firefox, IE, and WebKit). See the manual section on OOPHM
for more details.</p>
<p>The Linux version of GWT Hosted Mode Browser is no longer compatible with Vaadin (<a
href="http://dev.vaadin.com/ticket/2299">#2299</a>), so the OOPHM is the only option for
debugging in hosted mode in Linux.</p>
<p>The compilation of OOPHM widget sets uses a large amount of stack memory, so if the
JVM default is too small, you should set it explicitly in <tt>compile-widgetset.xml</tt>
with the following parameter for the Java process (currently included in the example build
script): <tt><jvmarg value="-Xss1024k"/></tt>.</p>
<p>As the OOPHM package is experimental, you should use it only for
debugging purposes during development. For production use, you should
compile your custom widget sets with the regular Vaadin package
for your platform.</p>
<h2><a name="known-problems">Important known problems in Vaadin @version@</a></h2>
<ul>
<li><p><a href="http://dev.vaadin.com/ticket/1155">#1155</a>:
Uncompressing the installation package fails in Windows if using the
default Zip uncompression. Uncompression gives (in Windows Vista) an
error message about too long filenames, and a more obscure message in
other versions of Windows. Workaround: use <a
href="http://www.7-zip.org/">7-Zip</a> or some other good unzip
program for Windows.</p></li>
<li><p><a href="http://dev.vaadin.com/ticket/2299">#2299</a>: The
Hosted Mode Browser does not work in Linux for debugging client-side
GWT code. You need to install the experimental OOPHM package instead
(see above) for development. For production, you should use the regular
package for Linux.</p></li>
<li>
<p><a href="http://dev.vaadin.com/ticket/2523">#2523</a>: GWT Compiler 1.7 uses more
stack space than 1.5 and can result in stack overflow errors. You can prevent the
problem by giving the Java process more stack space with the <tt>-Xss</tt>
parameter, such as: <tt>-Xss1024k</tt>. You can give the parameter in your widgetset
build script with a <tt><jvmarg value="-Xss1024k"/></tt> parameter for the
<tt><java></tt> task.</p></li>
<ul>
<li>
<p><a href="http://dev.vaadin.com/ticket/2891">#2891</a>: As there is a bug in
J2SE 5.0 that prevents setting the stack size for the main thread, widgetsets
cannot be compiled using the standard GWT compiler of GWT 1.7 and JDK 1.5.0 (see
<a href="http://dev.vaadin.com/ticket/2656">#2656</a> for more details on the JDK
bug). This bug primarily affects Windows users as other operating systems have a
larger default stack size.</p>
<p>Before that fix is available in a published GWT version, we provide a wrapper
for the GWT compiler that runs the compiler in a separate thread, thus using the
user-specified stack size settings also on JDK 1.5.0. Use
<tt>com.itmill.toolkit.launcher.WidgetsetCompiler</tt> instead of
<tt>com.google.gwt.dev.Compiler</tt>. You need the wrapper if you use a build
script to compile custom widget sets; the Eclipse plugin uses the wrapper
automatically. You can also avoid the problem by using JDK 1.7.</p>
</li>
</ul>
</ul>
<p>For other known problems, see open tickets at developer site <a
href="http://dev.vaadin.com/">dev.vaadin.com</a>.</p>
<h2><a name="changelog">Change Log</a></h2>
<p>The following issues have been fixed in this release:</p>
<ul>
<li><a href="http://dev.itmill.com/ticket/1862">#1862</a>: Add Vaadin to central Maven repository</li>
<li><a href="http://dev.itmill.com/ticket/2085">#2085</a>: Tooltip for disabled button</li>
<li><a href="http://dev.itmill.com/ticket/2824">#2824</a>: Full IE8 support</li>
<li><a href="http://dev.itmill.com/ticket/2931">#2931</a>: URI Fragment broken in IE with empty fragment</li>
<li><a href="http://dev.itmill.com/ticket/2943">#2943</a>: Reindeer theme button broken</li>
<li><a href="http://dev.itmill.com/ticket/2998">#2998</a>: Table rendering in Firefox is very slow when the table contains components</li>
<li><a href="http://dev.itmill.com/ticket/3003">#3003</a>: Table headers do not move in IE6</li>
<li><a href="http://dev.itmill.com/ticket/3065">#3065</a>: Inactive accordion tab keeps width</li>
<li><a href="http://dev.itmill.com/ticket/3066">#3066</a>: OptionGroup value changes to null if option label is clicked</li>
<li><a href="http://dev.itmill.com/ticket/3079">#3079</a>: Button (reindeer) visually broken in Safari (Win)</li>
<li><a href="http://dev.itmill.com/ticket/3091">#3091</a>: Table should iterate container using getIdByIndex if container is indexed</li>
<li><a href="http://dev.itmill.com/ticket/3096">#3096</a>: Analyze layouts does not check sub windows</li>
<li><a href="http://dev.itmill.com/ticket/3110">#3110</a>: Disabled buttons rendered wrong in IE7</li>
<li><a href="http://dev.itmill.com/ticket/3111">#3111</a>: OOPHM hosted mode does not work in FF3.5</li>
<li><a href="http://dev.itmill.com/ticket/3122">#3122</a>: Liferay session extension</li>
<li><a href="http://dev.itmill.com/ticket/3132">#3132</a>: Refresh fails when moving components between layouts</li>
<li><a href="http://dev.itmill.com/ticket/3143">#3143</a>: Table column expanding bugs if table has columns with defined size</li>
<li><a href="http://dev.itmill.com/ticket/3146">#3146</a>: table selection : clearing selection is impossible</li>
<li><a href="http://dev.itmill.com/ticket/3147">#3147</a>: Modal WIndow cannot be positioned</li>
<li><a href="http://dev.itmill.com/ticket/3148">#3148</a>: CommunicationManager should not keep a reference to ApplicationServlet</li>
<li><a href="http://dev.itmill.com/ticket/3157">#3157</a>: Spring Security form login does not work with Vaadin</li>
<li><a href="http://dev.itmill.com/ticket/3160">#3160</a>: Regression: DateField stylenames are not added to the DOM</li>
<li><a href="http://dev.itmill.com/ticket/3164">#3164</a>: DateField addStyle does not add information to DOM.</li>
<li><a href="http://dev.itmill.com/ticket/3166">#3166</a>: "Use of the cached instance of VTabsheet clears the ""hidetabs""-flag and style-names"</li>
<li><a href="http://dev.itmill.com/ticket/3167">#3167</a>: IllegalStateExcepton when session expires</li>
<li><a href="http://dev.itmill.com/ticket/3169">#3169</a>: Removing first/second components from SplitPanel</li>
<li><a href="http://dev.itmill.com/ticket/3172">#3172</a>: rendering-flag not cleared when cached version of VTabsheet is used</li>
<li><a href="http://dev.itmill.com/ticket/3177">#3177</a>: PropertyFormatter NPE</li>
<li><a href="http://dev.itmill.com/ticket/3179">#3179</a>: Application unresponsive after load on IE and Liferay</li>
<li><a href="http://dev.itmill.com/ticket/3180">#3180</a>: Icon is misplaced when button width is relative</li>
<li><a href="http://dev.itmill.com/ticket/3181">#3181</a>: Browser attributes should be non-null at Application.init()</li>
<li><a href="http://dev.itmill.com/ticket/3182">#3182</a>: Label does not repaint on property changes</li>
<li><a href="http://dev.itmill.com/ticket/3183">#3183</a>: Hidden HorizontalLayouts render wrong when set visible again.</li>
<li><a href="http://dev.itmill.com/ticket/3186">#3186</a>: Add a close icon for Notification.ERROR (Reindeer)</li>
<li><a href="http://dev.itmill.com/ticket/3187">#3187</a>: ComboBox shows all the choices again after selecting</li>
<li><a href="http://dev.itmill.com/ticket/3190">#3190</a>: ComboBox looses its selection if value set by server before focus</li>
<li><a href="http://dev.itmill.com/ticket/3191">#3191</a>: Split and open private writeAjaxPage for extension</li>
<li><a href="http://dev.itmill.com/ticket/3193">#3193</a>: Button visually broken in IE8</li>
<li><a href="http://dev.itmill.com/ticket/3194">#3194</a>: Test reindeer buttons in all configurations</li>
<li><a href="http://dev.itmill.com/ticket/3195">#3195</a>: ReplaceComponent causes NPE in ChildComponentContainer</li>
<li><a href="http://dev.itmill.com/ticket/3199">#3199</a>: Preventing tab change in a tabsheet hides the current tab</li>
<li><a href="http://dev.itmill.com/ticket/3206">#3206</a>: VFilterSelect: Using arrow keys + enter to select an item does not always work</li>
<li><a href="http://dev.itmill.com/ticket/3208">#3208</a>: Bad table performance when HorizontalLayout is used as a generated column base</li>
<li><a href="http://dev.itmill.com/ticket/3209">#3209</a>: Table needs a method to adjust the caching programmatically</li>
<li><a href="http://dev.itmill.com/ticket/3213">#3213</a>: Pecularities in accented character handling</li>
<li><a href="http://dev.itmill.com/ticket/3215">#3215</a>: Popup shadow doesn't resize with panel</li>
<li><a href="http://dev.itmill.com/ticket/3222">#3222</a>: Add functionality for embedded Vaadin application to resize parent frame</li>
<li><a href="http://dev.itmill.com/ticket/3229">#3229</a>: IE6 has extra padding-top in VerticalLayout with spacing enabled</li>
<li><a href="http://dev.itmill.com/ticket/3231">#3231</a>: VUpload depends on VNativeButton internal implementation</li>
<li><a href="http://dev.itmill.com/ticket/3232">#3232</a>: Implement new default look for Runo theme button</li>
<li><a href="http://dev.itmill.com/ticket/3237">#3237</a>: "New Button component does not react to ""click"" events"</li>
<li><a href="http://dev.itmill.com/ticket/3241">#3241</a>: Parameters and URIs sometimes end up in the wrong window</li>
<li><a href="http://dev.itmill.com/ticket/3244">#3244</a>: Empty screen when table.setPageLength(0) used (IE7)</li>
<li><a href="http://dev.itmill.com/ticket/3247">#3247</a>: "VPopupView contains hard coded text ""Loading..."""</li>
<li><a href="http://dev.itmill.com/ticket/3249">#3249</a>: NPE in CommunicationManager.getApplicationWindow</li>
<li><a href="http://dev.itmill.com/ticket/3251">#3251</a>: Mac FF 3.5 renders obsolete scrollbars for table</li>
<li><a href="http://dev.itmill.com/ticket/3256">#3256</a>: Compile Firefox 3.5 OOPHM plugin for Mac</li>
<li><a href="http://dev.itmill.com/ticket/3257">#3257</a>: Button in a table is too wide in IE7</li>
</ul>
<h2><a name="requirements">Requirements</a></h2>
<p>Vaadin is available for the following operating systems:</p>
<ul>
<li>Windows (see the Zip installation notice above)</li>
<li>Linux</li>
<li>Mac OS X Tiger (mac) or Leopard (leopard)</li>
<li>Other UNIX operating systems, such as Sun Solaris, using the installation package
for Linux.</li>
</ul>
<p>Vaadin supports Java Servlet API 2.3 and later versions and should work with
any Java application server that conforms to the standard. It supports the following
application servers:</p>
<ul>
<li>Apache Tomcat, version 4.1 or later</li>
<li>BEA WebLogic® Server, version 9.2 or later</li>
<li>IBM WebSphere® Application Server, version 6.1 or later</li>
<li>JBoss Application Server, version 3.2.8 or later</li>
<li>Jetty, version 5 or later</li>
<li>Glassfish, version 2 or later</li>
</ul>
<p>Vaadin supports the following browsers for using the applications made with
it:</p>
<ul>
<li>Mozilla Firefox release 3</li>
<li>Internet Explorer releases 6, 7, and 8</li>
<li>Safari 3</li>
<li>Opera 9.6</li>
</ul>
<p>The support for browsers follows the support by GWT. The browsers are supported on both
Windows and Mac, if available. Firefox is supported also on Linux (Opera 10a1 works also
on Linux though also suffers from <a
href="http://dev.vaadin.com/ticket/2652">#2652</a>). There may be differences between the
exact versions of the supported browsers that may cause incompatibility with applications
made with Vaadin.</p>
<p>The following browsers are not supported but have been found to
work to a large degree:</p>
<ul>
<li>Safari 2, and 4 beta</li>
<li>Firefox 2</li>
<li>Google Chrome 1.0.x (available only for Windows)</li>
<li>iPhone (firmware 2.2)</li>
<li>Midori (0.1.2)</li>
<li>Epiphany (2.22.3), Galeon, and other Gecko-based browsers. Also WebKit-based Epiphany (2.22.3) works.</li>
<li>Konqueror 4.2 (3.5.x does not work)</li>
<li>Nokia Internet Tablet N800 and N810 (ITOS 2008, Opera-based browser).</li>
</ul>
<p>The reported versions are those that have been tested, though other versions may work
as well.</p>
<p>Nokia E-series phones, such as E90, have been known to work with older versions, but
not with Vaadin 6. Links, Lynx, and other text-based browsers do not
work.</p>
</div> <!-- /content-->
<div id="footer">
<span class="slogan">Vaadin – thinking of U and I<span>
</div> <!-- /footer -->
</body>
</html>
|