Questions tagged [vaadin]

Use the [vaadin] tag for all posts relating to any use of the Vaadin web application development platform. For posts related to a particular Vaadin or a specific component, additionally tag the post with the corresponding tag, for example: [vaadin8], and [vaadin-upload], respectively.

Overview

Vaadin is an open source platform for building web applications. The Vaadin platform consists of a set of web components, a Java web framework, a TypeScript web framework, a Collaboration Engine, and a set of tools.

Flow

The Java web framework, Flow, uses Java for both the frontend and backend code. UIs can be created either by constructing and laying out components with Java or by declaring them with a LitElement template. UI event handling code is implemented in Java and runs on the server. UI state is also maintained on the server.

Vaadin's legacy Java web application development offering, Vaadin Framework, preceded Vaadin 10, and was built on GWT (Google Web Toolkit).

Fusion

The TypeScript web framework, Fusion, uses TypeScript for the UI code and Java for the backend (endpoint) code. UIs are created by declaring them within a TypeScript/LitElement class. UI event handling code is implemented in TypeScript and runs in the browser. UI state is also maintained in the browser.

Components

Vaadin Components are standard WebComponents implemented in LitElement. In addition to being used by Flow and Fusion, Vaadin Components can be used by other web technologies, such as Angular, React, and Vue. Prior to Vaadin 15, Components were implemented in Polymer.

Marketing Blurb

  • Vaadin improves the client side presentation layer by introducing client-server web components for rapid application development.

  • For Flow-based applications, a few lines of Java code and Vaadin takes care of the rest. No complex configurations, no JavaScript. Code on the server side.

  • For Fusion-based applications, the UI gains a reactive TypeScript frontend with a Spring Boot integrated backend, so you can focus on building your app instead of configuring stuff.

  • Wide browser support - Built on Internet standards, Vaadin applications support all modern browsers.

  • Stunning Web Applications - The look and feel makes a difference. Vaadin comes with great-looking components and easy use of themes.

Versions & Roadmap

Summary

  • Vaadin 22, the latest major version, was released on 9 December 2021.

  • Vaadin 14 was released on 14 August 2019 and is the most recent LTS (Long Term Support) version.

  • Vaadin 10 was released on 25 June 2018 and is the previous LTS version.

  • Vaadin Framework 8 was released in Feb 2017.

  • Vaadin Framework 6 and 7 are still also in active use but are not officially maintained.

  • Vaadin 23, the next LTS version, is slated for release in March 2022.

For new projects, version 14 or 22 is recommended.

Details

For the most up-to-date version and roadmap details, see:

Question and Search Hints

For some questions and queries, the answer is same regardless of Vaadin version or framework. However, it is often relevant to include the major version in the question or query as well.

6816 questions
2
votes
1 answer

How to only show errors on commit of BeanFieldGroup?

I have a BeanFieldGroup with several validators, and a Save button that commits the form. But if I have eg a @NotBlank validation constraint on my entity, and the input field is empty by default, I already get an error icon beneath initially when…
membersound
  • 81,582
  • 193
  • 585
  • 1,120
2
votes
1 answer

Vaadin BeanFieldGroup binding

Sorry in case this question has already been asked, but after searching these topics still could not figure out the problem. I have very simple bean as below, public class FileBean extends AbstractFileBean { ... private int…
JustK
  • 23
  • 3
2
votes
0 answers

Accessing JSON file with d3.js and Vaadin

I've read several Threads here on d3.js and JSON, I could not fix my problem though. Please see the picture attached. I'm working with Vaadin and integrated d3.js into my project. I now owuld like to display a forced graph with d3.js, using a local…
SuperUser01
  • 199
  • 1
  • 13
2
votes
2 answers

How to create a MVP architecture with Vaadin + Spring?

I'd like to create the following simple MVP architecture: View classes that are simly the vaadin layout, components, styles. nonfunctional. The views should be tied to the current ViewScope/SessionScope, therefore I use @UIScope of…
membersound
  • 81,582
  • 193
  • 585
  • 1,120
2
votes
1 answer

Vaadin TreeTable with LazyQueryContainer

Could anyone explain me one thing? Is it possible to use Vaadin TreeTable with LazyQueryContainer? I've alredy tried but it doesn't work. Actually, there is no any lazy loading. The method loadItems of org.vaadin.addons.lazyquerycontainer.Query is…
2
votes
1 answer

Using Wizard addon

Dear friends I'm new of vaadin and I would want to use wizard add-on in my vaadin application. Now my trouble is that I don't have a fix number of steps. I try to explain in a better way, I have the following optionGroup Then when i choose fixed…
Skizzo
  • 2,883
  • 8
  • 52
  • 99
2
votes
2 answers

SpringVaadinServlet blocking SpringBoot features

In our Muhuru-Bay-Microgrid-Dashboad project we're using code from https://github.com/xpoft/spring-vaadin in an attempt to get Spring Boot and Vaadin to play nicely. The problem - with this approach we can't access many of the other rest service…
user791437
  • 99
  • 1
2
votes
2 answers

Vaadin - Table data not displayed if I use AbsoluteLayout

Currently I'm facing quite weird problem with Vaadin Table. If I use AbsoluteLayout data in table are not shown, but if I use i.e. HorizontalLayout, data are perfectly shown. This works: import com.vaadin.annotations.AutoGenerated; import…
Branislav Lazic
  • 14,388
  • 8
  • 60
  • 85
2
votes
2 answers

Vaadin: set text from TextField to Label after Button click

I am trying to write simple Vaadin form. I want write text from TextField to Label after user click on Button. I have this code: package com.example; import javax.servlet.annotation.WebServlet; import…
martin
  • 1,707
  • 6
  • 34
  • 62
2
votes
1 answer

How to apply Vaadin 7 server push to a Navigated View

How do I apply Vaadin7 server push to a Navigated View. Basically I want to up date MyView class table components. Since Its a navigated View its not working as explained in Vaadin. Is there Any other way to update data from MyView class? such as…
Swarne27
  • 5,521
  • 7
  • 26
  • 41
2
votes
2 answers

Is it possible to integrate Vaadin with Rails??? If so, how?

As i see Vaadin is a Java based UI framework. But it has some really nice set of widgets and a very good layout engine. Is it possible to integrate Rails and Vaadin? JSON perhaps??
Shripad Krishna
  • 10,463
  • 4
  • 52
  • 65
2
votes
1 answer

Image field as part of the FieldGroup in Vaadin7

I have a requirement to display the image as part of the FieldGroup. This is for the functionality where the Image appears as normal on a web page, when in edit mode I need to edit this image value by providing an 'upload' option. I have a Pojo with…
StoopidDonut
  • 8,547
  • 2
  • 33
  • 51
2
votes
3 answers

How to display button as a link in vaadin

I am new to vaadin. I have one button it should look like a link. I have created button like, Button title = new Button(item.getSubmissionTitle()); title.setStyleName(BaseTheme.BUTTON_LINK); I also tried using…
Learner
  • 976
  • 14
  • 29
2
votes
0 answers

Modular OSGi Vaadin Application - Resources from extensions

I am trying to build a modular web application, that consists of a main application and pluggable extensions (sub-applications) using Vaadin + OSGi. To get started into the topic and try out different ways I followed this article: Modular and…
JDC
  • 4,247
  • 5
  • 31
  • 74
2
votes
1 answer

Servlets to run alongside a Vaadin 7 app?

Besides my nice Vaadin 7.1 web app, I want to add a few plain servlets. These other super-simple servlets provide simple pieces of text to their clients. Imagine a CurrentDateTime servlet that returns "2014-03-02T04:05:00Z" and a CurrentTemp…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
1 2 3
99
100