Use this tag for version specific questions about Vaadin 14 - the open-source platform for web application development. When using this tag also include the more generic [vaadin] tag where possible. Vaadin 14 was superseded by Vaadin 23 in March 2022. Vaadin 14 is supported until Aug 2024, extended maintenance commercially available until Aug 2034.
Questions tagged [vaadin14]
430 questions
4
votes
2 answers
How to handle Access Denied properly in Vaadin 14 LTS
I started implementing authentication and authorization for our applications written in Spring Boot (2.2.6.RELEASE) and Vaadin 14 LTS (14.6.1).
I have followed those resources:
Securing your app with Spring Security
Router Exception Handling
I…

Marek Panek
- 75
- 1
- 6
4
votes
1 answer
Vaadin 14 Time Picker - align centered
with Vaadin 14(.1.19) comes this Time Picker component: https://vaadin.com/components/vaadin-time-picker/java-examples
This is how it looks like (when it's read-only):
How can I get this Time Picker to show the time centered like this (this is a…

S. Doe
- 685
- 1
- 6
- 25
4
votes
2 answers
How to set the amount of elements that will be fetched from backend by a DataProvider?
I want to lazy load some data from a grid into my Vaadin View. The grid rows are sometimes pretty huge so I want to limit the amount of rows that are loaded at once let's say to 2.
I tried to do this using DataProvider.fromCallbacks(). Unfortunately…

Michael Kemmerzell
- 4,802
- 4
- 27
- 43
3
votes
1 answer
java.lang.IllegalArgumentException: Cannot add the same item multiple times: Day@3ea2225f
I want to use a Treegrid to represent days, but when adding the days to the treegrid I get the error:
java.lang.IllegalArgumentException: Cannot add the same item multiple times: Day@3ea2225f
My setItems function looks like…

Lukas
- 110
- 11
3
votes
1 answer
Vaadin Maven Multimodule application with vaadin 23
Is there any maven archetype for vaadin 23 multimodule application like we have for vaadin 8 or any online way to create vaadin maven multimodule web app.

tushar sharma
- 105
- 2
- 10
3
votes
1 answer
What is the replacement for ListSelect in Vaadin 22?
I'm trying to update an application from Vaadin 7/8 to Vaadin 22.
ListSelect is gone, so I need a new widget field that satisfies these requirements:
Allows choosing multiple items
Suitable for use in FormLayout with value bound using…

Archie
- 4,959
- 1
- 30
- 36
3
votes
1 answer
Vaadin-flow non-critical validation that still returns isValid=true
we are currently trying to implement a non-critical validation layer that checks field inputs against certain validators without marking the form as "not valid", but rather as "out of specification" so that we can highlight the fields to the user.…

Benedikt Schmidt
- 2,178
- 16
- 20
3
votes
1 answer
Vaadin SCSS Compilation fails- File to import not found or unreadable: ../valo/valo.scss
I am working on migration from Vaadin 8 to Vaadin 14 LTS in MPR. The .scss files used in our project need to be compiled. I used the following plugins
com.vaadin
…

Manushi
- 597
- 1
- 7
- 26
3
votes
1 answer
How to enable badge CSS classes in Vaadin 14.7.x when not using custom theme?
From the documentation:
The Badge-specific CSS classes are available as part of the Lumo
theme. To use these classes in your application, enable them in your
theme’s theme.json
And Lumo Badges describes…

rmuller
- 12,062
- 4
- 64
- 92
3
votes
1 answer
Vaadin 14 Springboot javascript does not work
I'm trying to develop my first Vaadin 14 application, I'm also using Spring boot framework for it.
I've created a javascript file, I put it into the folder frontend/src with the name of teams.js and I'm trying to import it with…

Viktor Korai
- 177
- 2
- 13
3
votes
1 answer
I need to add a filter in Vaadin that intercepts all requests
I have set an attribute in the session that would be true or false. If that attribute is true I need vaadin to intercept all requests and redirect it to a new custom Vaadin page. I know there is a interface called VaadinServiceInitListener however I…

Aigeth Magendran
- 55
- 4
3
votes
1 answer
Is there a way to have the Combobox render the selected value like the Select in Vaadin Flow?
For example in the Select component the selected value is rendered as shown here. However when it comes to the ComboBox it is not rendered, only on the dropdown as shown here. I need to use the ComboBox because I need the search functionality, that…

Stephane Grenier
- 15,527
- 38
- 117
- 192
3
votes
1 answer
How do I add empty spaces in FormLayout in Vaadin Flow?
For example if I have form with 2 columns and 2 rows but want to keep the 2nd column in the first 1st empty how do I do this without adding an empty value (empty Span).
-----------------
| field | empty |
-----------------
| field | field…

Stephane Grenier
- 15,527
- 38
- 117
- 192
3
votes
2 answers
Vaadin micro-frontend css handling
I'm trying to implement microfrontend with Vaadin 14. I've managed to accomplish a working version thanks to the Vaadin official documentation and various examples on github, using WebComponentExporter. However I cannot find any information about…

Attila Mate
- 81
- 6
3
votes
3 answers
How to add a button in a compact Vaadin 14 / Flow Grid
Using the inline java editing example for a Vaadin 14 / Flow Grid at: https://vaadin.com/docs/latest/ds/components/grid/#inline-editing-java-only (ignoring the save and cancel portion) how can I add an edit button for a compact grid. All other cells…

Stephane Grenier
- 15,527
- 38
- 117
- 192