184 questions
0 votes
0 answers
63 views
Vaadin 23 Flow session not expiring when Spring Session JDBC session expires
I have a multi-project setup with a Spring back-end and a Vaadin 23 Flow front-end. I'm trying to synchronize the session lifecycles so that when the back-end session expires, the Vaadin UI correctly ...
1 vote
1 answer
75 views
Does VaadinSession automatically start a session after entering the url in the browser?
Context: I'm trying to start a session using VaadinSession component. I'm showing a login page in which I'm entering username and password and after hitting the login button, I'll be redirected to ...
0 votes
0 answers
46 views
Vaadin 23 (Spring non-boot) WAR deploy to Tomcat 9 returns 404 despite correct WAR structure
Title: Vaadin 23 WAR deploy to Tomcat 9 returns 404 despite correct WAR structure. I’m deploying a Vaadin 23, Java 11 WAR (non‑Spring Boot) to Tomcat 9 as ROOT.war. The WAR includes: flow-build-info....
1 vote
1 answer
74 views
Vaadin23 app keeps refreshing repeatedly when using Spring Session JDBC
I'm building a Vaadin 23 + Spring Boot 2.7 application and trying to integrate Spring Session JDBC to expire sessions after 1 minute of inactivity. Problem: When I start the app, the browser (...
0 votes
1 answer
59 views
How to preselect an item from a ComboBox in Vaadin?
There is no select method in the ComboBox class. Is there any other to preselect an item in a Vaadin Combobox? This is my code: final ComboBox<ReportTypeEnum> selectionBox = new ComboBox<>(...
1 vote
1 answer
96 views
Display Vaadin Date-Time Picker in a Column Layout
I want to display a datetimepicker in a column layout with Vaadin 23. DateTimePicker dateTimePicker = new DateTimePicker(); dateTimePicker.addClassName("stacked"); add(dateTimePicker); It is ...
0 votes
1 answer
372 views
Failed to execute goal com.vaadin:vaadin-maven-plugin:23.3.11:build-frontend (build-frontend) on Maven Project with Vaadin 23 version
Failed to execute goal com.vaadin:vaadin-maven-plugin:23.3.11:build-frontend (build-frontend) on Maven Project containing Vaadin 23 version: Note: I am trying to migrate Vaadin 7 (maven) project to ...
1 vote
1 answer
460 views
How to properly use FormLayout and FlexLayout in Vaadin24
I'm attempting to place 3 items on the left of the screen (text-field, date-picker, and select-dropdown) vertically. Then I would like 3 select dropdowns placed horizontally on the right side of the ...
1 vote
0 answers
120 views
Vaadin flow exception when using keyboard shortcuts in grid editor
I want to use keyboard shortcuts in a vaadin flow 23 application inside an active grid editor. I get occasionally an exception in the test server which I can not reproduce locally: java.lang....
1 vote
1 answer
212 views
How do I sort in vaadin 23 grid without invoking the API
I am using Vaadin 23 and trying to perform a sort. However, requirement is to sort the fetched element on the UI and not invoking the backend. Here is the code for reference Setting up backend data ...
0 votes
1 answer
2k views
How to sort Grid columns in Vaadin 23
We migrated from vaadin 8 to 23 and had to change the class com.vaadin.ui.Grid to com.vaadin.flow.component.grid.Grid. Implementation changed for column sorting. I added column using below code and ...
1 vote
1 answer
52 views
Vaadin 23.2.11 unable to package for production
When trying to package my project like mentioned on the Vaadin 23 website : mvn clean package -Pproduction I get the following error: [ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:23....
1 vote
0 answers
98 views
TwinColselect.setItem is taking too much time
In vaadin 24 , i am facing one issue related to rendering of page is slow due to Twincolselect.setItems , where i have only 900 records to set . but it was much faster in 23 version . I tried to set ...
0 votes
1 answer
196 views
How to get the selection column from a vaadin-gird in vaadin 23?
I'm using an ItemClickListener on my grid and also multi select mode. Problem is if you click slightly, next to the selection checkbox the click event is fired and all selections are deleted. My Idea ...
0 votes
0 answers
235 views
Vaadin 23 all grids refreshing after changing UI
I found out a strange behavior of the grid component. I have app with multiple tabs in each tab can be multiple grids, sometimes i handle some errors by showing dialog in addColumn method. I found out ...