Use this tag for version specific questions about Vaadin 21 - the open-source platform for web application development. When using this tag also include the more generic [vaadin] tag where possible.
Questions tagged [vaadin21]
32 questions
4
votes
0 answers
Vaadin login page conitiously and automatically reloads with spring-session-jdbc
I've just started to dive into Vaadin UI development, please excuse me in case of any silly mistakes. Can someone please help?
I built a simple sbring-boot application, that uses spring-security for ldap based auth and vaadin for ui. It has 2 pages:…

mad_lobster
- 111
- 1
- 4
4
votes
1 answer
HTML icons that worked fine in Vaadin 20 longer work in Vaadin 21
In Vaadin 20 I could add an icon as a Java component:
add(new Icon("vaadin", "check));
or in HTML:
Changing nothing but the Vaadin version, in Vaadin 21, the first shows an icon, the second is blank. I've…

sammddltn
- 87
- 5
4
votes
2 answers
Error with Vaadin / Webpack in Development mode on MacOS 12 Monterey on M1
Since upgrading to MacOS 12 / Monterey I encounter an error, when trying to run my application in Development mode.
To verify the problem, I created a completely new Starter App from start.vaadin.com.
I used JDK 11 and Vaadin 21 as that is what my…

karakal
- 291
- 2
- 5
4
votes
1 answer
Scrolling issue on Vaadin 21 and ApplicationLayout
I have a strange problem with the application layout and views which need to be scrolled:
If I create an application with the default App Layout, the drawer toggle is on the top and I add a VerticalLayout with fullsize as view everything is working…

Florian
- 110
- 7
3
votes
2 answers
How can I display checkboxes instead of boolean in vaadin grid?
I'm working on a new application using vaadin-spring-boot-starter 21.0.7 and trying to render training database information in a Grid. I'd like to have the first column in the list be a checkbox for Active/Inactive, but I can't figure out how to…

Greg
- 33
- 3
3
votes
1 answer
Vaadin 21 View Roles
I want to rewrite my Vaadin application to Vaadin 21.
With the Vaadin starter builder (https://vaadin.com/start) I created a simple app.
Currently my main struggle is to apply my simple CustomAuthenticationProvider to the Security manager to able to…

SüniÚr
- 826
- 1
- 16
- 33
2
votes
1 answer
Vaadin flow apps not working with spring boot 2.6.0
I've updated a Vaadin 21/Spring Boot 2.5.7 application to Spring Boot 2.6.0 and are experiencing issues with the rendering. It appears that the resources are not being made available for the frontend. I have confirmed that they are packaged into the…

AISDev
- 35
- 4
2
votes
1 answer
Hide the "Select All" checkbox in the Flow component Grid, when SelectionMode is MULTI (Vaadin 21)
When you create a Grid component in Vaadin v21 and switch to multiselect mode, there is a "select all" checkbox on top. How can one disable that? There seem to be different default behaviours of the Grid and hence different solutions among Vaadin…

Chris
- 834
- 1
- 10
- 23
2
votes
2 answers
Use an existing GWT component in vaadin 21
We have a pre-existing (vaadin 7) gwt component which we are looking to bring forward to vaadin 21.
We don't want to use the Multiplatform Runtime as the pricing is excessive.
In the end the gwt component just compiles to javascript so there must be…

Brett Sutton
- 3,900
- 2
- 28
- 53
1
vote
0 answers
How to handle or change Invalid JSON from Server Vaadin 21
I am trying to display a custom error when there is a session expired or a internal server error using VaadinService.getCurrent().setSystemMessagesProvider(PARAM);
Right know, Vaadin won't display the right error when I am disconnected due to…

Robyn.D
- 339
- 2
- 20
1
vote
0 answers
Issue with object items in Vaadin Fusion combo box
I have a vaadin-combo-box in my Fusion v21 app which I try to populate with objects that contain a name and a value. So, I want to display the name property in the dropdown of the combo box and when I select a value, it should put the value in my…

Rasmus Nielsen
- 411
- 1
- 4
- 18
1
vote
0 answers
GridRowDragger in Vaadin 21 missing?
I'd like to use this "Drag and Drop Reorder of Rows in Grid"-code in Vaadin 21: https://demo.vaadin.com/sampler/#ui/drag-drop/grid-reorder-rows-html5
Unfortunately I don't find the com.vaadin.ui.components.grid.GridRowDragger class in Vaadin…

S. Doe
- 685
- 1
- 6
- 25
1
vote
1 answer
Vaadin 21: change date format at LocalDateTimeRenderer in Grid on locale change
Situation and problem, short
The LocalDateTimeRenderer in Vaadin 21 shows a German date in a German browser, even if the Locale in the Vaadin session is changed to e.g. Locale.UK.
Situation and problem, long / detailled
In a Vaadin 21 Grid I've got…

S. Doe
- 685
- 1
- 6
- 25
1
vote
1 answer
How to Listen to Vaadin component events in a JavaFX WebView?
I have created a form with Vaadin Flow (Vaadin version 21) with a save button. This form is then shown in a JavaFX WebView (Version 17.0.1) and now I want to listen to events in the form like save button from JavaFX, so I can update JavaFX parts of…

Keyhan
- 2,370
- 2
- 19
- 22
1
vote
1 answer
How do I pre-select items in a Vaadin 21 Grid? Selection is not displayed in the UI
I have defined a layout that implements BeforeEnterObserver. In the beforeEnter method, I load an object instance from the database. The instance has relations to other objects.
Also inside this method, I call a method of another Layout, that sets…

Chris
- 834
- 1
- 10
- 23