Use this tag for version-specific questions about Vaadin 23 - the open-source platform for web application development. When using this tag, also include the more generic [vaadin] and [vaadin-flow] tags where applicable. Vaadin 23 superseded Vaadin 14 in March 2022.
Questions tagged [vaadin23]
191 questions
2
votes
1 answer
Grid Row Freezing
Is there a way to freeze the top-most row in a Vaadin Grid so that it can always be viewed, no matter how much the user scrolls vertically? I was looking at https://vaadin.com/docs/latest/components/grid/#column-freezing, but I'm not sure if this…

schaphekar
- 495
- 1
- 5
- 18
2
votes
1 answer
Vaadin: Exclude readonly fields from tabbing order
In a Vaadin 23 form there are some input fields. Some of them are read-only.
I want to exclude these read-only fields from tabbing order.
https://vaadin.com/docs/latest/components/input-fields#focus states hits:
Read-only elements cannot be edited,…

S. Doe
- 685
- 1
- 6
- 25
2
votes
2 answers
Spring security prevents navigating to another view from a background thread
I have trouble migrating from Vaadin 14 to Vaadin 23. I have a long running backgroundtask with a progress dialog. With Vaadin 14 after finishing the task i could navigate to a result-view with the following code:
UI ui = UI.getCurrent();
final…

WaTho
- 41
- 4
1
vote
0 answers
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 it with asynchronous call ,where page is getting…

shweta singh
- 11
- 2
1
vote
0 answers
Download file button in Vaadin 23 and Lit
I'm using Vaadin 23 in Java application in Spring. I have a lit template with render method returning html like this:
import {css, html, LitElement} from 'lit-element';
class DownloadButton extends LitElement {
render() {
return html`
…

Krystian G
- 2,842
- 3
- 11
- 25
1
vote
2 answers
Vaadin 23 Grid: how to sync DataCommunicator with DataProvider?
In a Vaadin 23.3.10 Grid I'd like to select a row that is next to a row that was selected before. Therefore I read the items from the DataCommunicator. Most cases work fine, but the DataCommunicator seems to be not in sync with the DataProvider…

S. Doe
- 685
- 1
- 6
- 25
1
vote
1 answer
Vaadin throws an exception in Tomcat log on page refresh
I had my Vaadin application deployed on Tomcat and it was working for me for about an hour.
Then it stopped working for unknown reason. When refreshing the page I am getting only page background and in catalina logs exception stack trace…

Gary Greenberg
- 468
- 1
- 9
- 22
1
vote
0 answers
Vaadin 24 LONG_POLLING Push and Failed to submit broadcast handler runnable to for Broadcaster/*
I'm trying to upgrade from Vaadin 23 to Vaadin 24.
Now, I very frequently see the following message in the console:
2023-03-09T16:32:14.882+02:00 WARN 4348 --- [sphere-Shared-0] org.atmosphere.cpr.DefaultBroadcaster : This message…

alexanoid
- 24,051
- 54
- 210
- 410
1
vote
0 answers
Vaadin 23 Won't Build with Gradle Due to Licensing
Trying to build Vaadin 23 SpringBoot app with Gradle in production mode. Fails with:
gradlew build
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':my_webapp:vaadinBuildFrontend'.
> The provided license key does…

K. Taylor
- 431
- 5
- 8
1
vote
1 answer
Vaadin Spring war file not loading to TomCat
I have been working on my application for quite a while without building a war file. About 4 months ago, built the war, my Tomcat server picked it up just fine.
I've since moved to Java 17, Spring 2.7.8 and from Vaadin 22 to Vaadin 23.3.6. So, last…

Joe
- 31
- 3
1
vote
0 answers
IntegerField validation bug
Hi I am trying to validate IntegerField using Binder with this code:
binder.forField(number)
.withValidator(num -> num == null || (num >= 1 && num <= 999),
getTranslation("number_must_be_between_1_and_999"))
…

saleksand
- 11
- 2
1
vote
1 answer
Vaadin RTL support, get current direction
I need to add RTL languages support to my application. I know how to set the direction to RTL:
UI.getCurrent().setDirection(Direction.RIGHT_TO_LEFT)
but I also need to programmatically get this value in order to do some changes in the code.
How to…

alexanoid
- 24,051
- 54
- 210
- 410
1
vote
1 answer
web components not deployed in vaadin flow production
I'm using vaadin flow 23.2 and I've built a couple of web components.
The web components work fine in my development environment however they don't appear to work when I deploy them to production.
The most obvious sign is that in development the…

Brett Sutton
- 3,900
- 2
- 28
- 53
1
vote
1 answer
How to wrap a label to the textfield in Vaadin
In my Vaadin application I have a short integer field with a long label.
TextField pubYear = new TextField("Publishing Year);
pubYear.setWidth("60px");
I do need to keep this size of the field to fit into the form, but label is cut to "Publ...".…

Gary Greenberg
- 468
- 1
- 9
- 22
1
vote
1 answer
Vaadin doesn't show up after upgrade from 23.2.10 to 23.3.1
Intention: I want to switch from Vaadin 23.2.10 to 23.3.1.
What I did:
In the pom.xml I changed Vaadin version from 23.2.10 to 23.3.1.
What happened:
After that the application (Spring Boot plus Vaadin) starts, but the UI doesn't show up. Instead I…

S. Doe
- 685
- 1
- 6
- 25