New form binder, new fields, new grid
Pre-release
Pre-release
New features
- A new, much simpler AbstractField
- No data binding, validators, converters
- A new form
Binderfor binding fields to dataBeanBinderfor simple binding to beans- Bean validator (JSR-303) support
ConvertersupportValidatorsupport- Buffered
load/saveand unbufferedbindmodes - Converters and validators can be chained in any order, validating field data, bean data or even an intermediate format if needed
- Bean level validation support
- Cross field validation support
- Customizable validation handling for error/ok messages
- New, simpler field implementations
- Event origin (user or server) included in ValueChangeEvents
TextField,PasswordField,TextAreaTextChangeListenerintegrated intoValueChangeListener
- Different modes for
ValueChangeListener(BLUR,EAGER,TIMEOUT,LAZY) - Placeholder support through the native
placeholderattribute DateField,PopupDateField,InlineDateField,CustomField,SliderLabel,ProgressBarare no longer fields as they do not have any way for the user to provide input
- Initial support for new
ListingcomponentsGrid<BEANTYPE>- Tied to a bean type for type safe API
- More flexible column configuration
- Many features from Vaadin 7 still missing
DataCommunicatorto ease implementation ofListingcomponents
- Client side Java 8 support through GWT 2.8-rc2
- Better push support through Atmosphere 2.4
Changes in defaults
Immediateis the default for all components exceptUpload, which still gives special meaning toimmediateLabeldefault width changed to auto, to match other components
Migration packages
- Packaged as
vaadin-compatibility-server,vaadin-compatibility-client,vaadin-compatibility-client-compiled- Vaadin 7 data binding classes:
Container,Item,Propertyand all implementations - Vaadin 7 FieldGroup, converters, validators
- Vaadin 7 components which use the old data binding (mainly fields and selects)
- Vaadin 7 data binding classes:
- All classes moved from
com.vaadin.*tocom.vaadin.v7.*com.vaadin.v7.Vaadin7WidgetSetwhich contains all Vaadin 7 components
- Declarative support prefix for old components defined as
<vaadin7-, e.g.<vaadin7-text-field> - YMMV migration tool provided in https://github.com/vaadin/vaadin8-migration-tool
Removed features
- Support for Java 6, 7
- Support for servlet 2.x
- Support for IE 8, 9, 10
- Support for all but the latest browser versions, IE11 is still supported
- Support for Window Phone
- The
liferaytheme for Liferay 6.0 - RichTextArea no longer receives a special "v-richtextarea-readonly" class when readonly
All changes since 7.7: vaadin/vaadin@7.7...8.0.0.alpha2