Vaadin @version@ is an update release for Vaadin 6. In addition to various fixes, it
-contains a number of significant enhancements.
+
Vaadin @version@ is a maintenance release for Vaadin 6.2,
+containing a number of important fixes. The fixes are listed in the Change Log below.
-
-
Widget set definition and component-to-widget mapping has been redesigned
-
-
Reuse of widgets is now much easier, as it is easier to package and use widget
- set JARs and otherwise combine widget sets.
-
-
A widget set definition class is no longer used. The Java
- code needed for widget instantiation and client-server mapping is now
- automatically generated by the GWT compiler. For the basic Vaadin
- user, a widget set is now defined only in a GWT module definition file
- (.gwt.xml).
-
-
Server-side component is mapped to a client-side widget with an annotation:
-
@ClientWidget(com.vaadin.demo.colorpicker.gwt.client.ui.VColorPicker.class)
-public class ColorPicker extends AbstractField {
-
-
-
The getTag() method is no longer needed
-
-
The Vaadin Plugin for Eclipse can create new widget stubs, define the mapping,
- and create widget set definition files (.gwt.xml).
-
-
See WebContent/docs/example-source/build-widgetset.xml for an example
- on how you can compile widget sets and widget set JARs with Ant.
-
-
A widget set builder allows automatic generation and maintenance of widget
- configurations, making use of widget set JARs easier.
-
-
See notes below for upgrading widget set
- definitions and widget mappings from earlier version of Vaadin 6.
-
-
Other enhancements to development of new components
-
-
On the server-side:
-
-
Listeners for custom client side events are now easier to implement with
- ReflectTools.findMethod() and addListener(String eventIdentifier,
- Class<?> eventType, Object target, Method method) methods. The latter
- automatically informs the client-side that a listener is registered on server side)
-
-
On the client-side:
-
-
Ability to check if a listener is registered on the server-side
-
Typed arrays and maps can now be sent to server with updateVariable()
-
-
Note! This change affects existing custom components that send object arrays to the server.
- Previously, an Object[] sent from client to server was converted into String[] on the server-side.
- This invalid behavior is now fixed and an Object[] sent from client-side is an
- Object[] on the server-side.
-
-
-
-
-
Portlet 2.0 (JSR 268) support
-
-
A separate servlet for each portlet is no longer needed.
- (no separate servlet, no session problems, portlet-to-portlet communication, etc)
-
-
OSGi support
-
-
Vaadin now works as a OSGi bundle.
-
-
Enhanced sorting of IndexedContainer and BeanItemContainer
-
-
Custom sort methods can now be used to sort container contents.
-
-
Improved event support
-
-
Client-side events are sent to the server only when a listener has been registered for the event
-
All built-in layouts (AbsoluteLayout, CssLayout, HorizontalLayout, GridLayout, and VerticalLayout) now support click listeners.
-
Click events for Panel and Embedded.
-
Focus and blur events for DateField, TextField, and Select
-
-
JavaScript execution with Window.excecuteJavaScript()
-
-
You can execute JavaScript directly from the server-side with the new excecuteJavaScript() method. You can use it, for example, for integration with other systems or for implementing print functionality (window.print()).
-
-
Additional Maven archetypes
-
-
vaadin-archetype-clean with a dependency to Vaadin and a minimal application skeleton, no client-side widgets
-
vaadin-archetype-widget for creation of Vaadin 6.2 widget packages
-
vaadin-archetype-sample has been updated for Vaadin 6.2 - use version 1.0.x for earlier versions of Vaadin
-
-
Maven Vaadin plugin
-
-
vaadin-maven-plugin can automatically update Vaadin 6.2 widget sets based on Maven dependencies using the goal update-widgetset
-
-
HttpServletRequestListener
-
-
Similar to TransactionListener, but only related to a single Application. Called before and after every servlet request and provides access to HttpServletRequest and HttpServletResponse.
-
-
PortletRequestListener
-
-
Similar to HttpServletRequestListener, but for portlets. Called before and after every portlet request and provides access to PortletRequest and PortletResponse.
Problem fixes and enhancements planned for upcoming releases can be found from the Vaadin Roadmap in Vaadin Trac.
@@ -162,6 +50,26 @@ widget sets and refresh your project in Eclipse. If you are upgrading from earli
6.2.0, notice that Vaadin 6.2 uses GWT 1.7.0 (included in the installation package). See
General Upgrade Notes for more details on upgrading.