Gradle Vaadin Plugin 0.11 beta released

Gradle Vaadin Plugin 0.11 is probably the biggest release since the first version of the plugin came out nearly 4 years ago. Many things under the hood has changed and improved, mostly because of improvements in Gradle itself, but also new features have been added which will help especially those in a more enterprise project. But lets have a look at the major features this release brings. Java 8 and Gradle 2.12 required To be able to make many of the improvements made in 0.11 new features of Gradle needed to be used. That meant that the »

Sneak peak into Gradle Vaadin Plugin 0.11

Changes in how dependencies are handled As you all most likely know the plug-in will inject the required vaadin dependencies into the build so you can start developing with Vaadin without any whatsoever knowledge about what dependencies are needed. The plug-in by default takes care of that for you. However, the way the dependencies were injected was never a supported solution and it had its flaws. One of the major flaws was that while it worked flawlessly if you were using the Gradle eclipse or idea plug-ins it didn't work so well if you were using the third party Eclipse »

What is new with Gradle Vaadin Plugin 0.10

Here are some of the most prominent features of the release: Widgetset CDN support The biggest new feature of 0.10 must be the new support for using pre-built widgetsets provided by http://cdn.virit.in instead of building the widgetset locally. To use this feature there are a few requirements you need to be aware of before using it: You will need to set vaadin.widgetsetCDN=true in your build.gradle. This is to tell the plugin that you want to use the CDN instead of building the widgetset locally. You need to name your widgetset without any package »

What is new with Gradle Vaadin Plugin 0.9

It took all summer but finally it is ready, the next minor release of the Gradle Vaadin Plugin. And what a release it turned out to be. Lets take a look at what the new release brings. Say hello to Groovy support Some have asked why the plugin only works with Java projects and not Groovy projects, after all, Gradle is using Groovy behind the scenes. The major reason is that Vaadin has for long time not been very focused on other JVM languages and mostly only catered to the pure Java folks. However, times are changing and more and »

Binding Groovy beans to Vaadin Fields

Say we have the following simple Person POJO from our application model and we want to tie the first name and last name fields to Vaadin Labels. public class Person { String firstName; String lastName; } This is very common scenario when making CRUD applications where you want to display the first and last name of a person. In Vaadin and Java what we usually do is wrap the original POJO in a BeanItem and pass that BeanItem's property as the data source to the TextField. Like so: Person person = new Person() BeanItem item = new BeanItem<Person>(person) Label lastNameLabel »