Use this tag for version specific questions about Vaadin 22 - the open-source platform for web application development. When using this tag also include the more generic [vaadin] tag where possible. Vaadin 22 was superseded by Vaadin 23 in March 2022. Vaadin 22 is supported until March 2023.
Questions tagged [vaadin22]
31 questions
5
votes
1 answer
Dynamic HTML using a Vaadin LitRenderer
Using Vaadin 22+
I'm trying to display some dynamic html in a Vaadin Grid, using a LitRenderer.
This could previously be achieved using the now-deprecated TemplateRenderer using this hack
var templateRenderer = TemplateRenderer.of("""
…

Brandon
- 121
- 6
3
votes
3 answers
Vaadin 22 with web.xml and Spring
I have a working Vaadin 18 prototype that uses web.xml and Spring.
The prototype is for a port of a large webapp that uses web.xml and vanilla Spring.
I want to update the front-end without dropping web.xml or using Spring Boot.
It works fine in…

tanderson
- 1,169
- 12
- 29
2
votes
1 answer
How can I block copy-paste in a text field?
I'm using vaadin 22 and I want to block the copy-paste of an emailField to implement email confirmation.
Can someone help me.
Thank you

wilson ramos
- 31
- 3
2
votes
1 answer
vaadin 22 not finding the default route
I have a default route for my vaadin web app.
I'm running tomcat 8.5 without springboot.
package dev.mine.ui.user.views;
import com.vaadin.flow.router.BeforeEnterEvent;
import com.vaadin.flow.router.BeforeEnterObserver;
import…

Brett Sutton
- 3,900
- 2
- 28
- 53
2
votes
2 answers
Combobox and suffix slot
I want to add a component to ComboBox's suffix slot. Based on an old Vaadin forum topic you can do it in Vaadin 13, but it doesn't work with Vaadin 22. Is it possible to do this?

gidravlic
- 79
- 6
2
votes
2 answers
Cannot find module '@vaadin/flow-frontend/Flow'
Vaadin suddenly stops to build my library with the following error. I already did the Vaadin dance (and a lot of more stuff) but I'm running out of ideas now. I try to build the library for production (but it also fails for dev).
I'm using Vaadin…

Maurice Müller
- 1,312
- 3
- 16
- 32
1
vote
1 answer
How do I exclude certain Vaadin views from authentication?
I want to make a couple of Vaadin (v22) views accessible without a login, i.e. make them publicly available.
I looked at this tutorial, which is probably outdated: https://vaadin.com/learn/tutorials/securing-your-app-with-spring-security
There it…

Chris
- 834
- 1
- 10
- 23
1
vote
1 answer
Vaadin ComboBox Multiselect for managing tags
Is there a Vaadin component or add-on that provides a ComboBox with multiselect, that works like most tagging systems work? (see picture) Pretty much like Stackoverflow's tagging.
It would be perfect if you could also add new tags this way.

Chris
- 834
- 1
- 10
- 23
1
vote
0 answers
How to set initial url upon application startup
I have a pretty simple Vaadin Flow project for a college course setup with working login functionalities.
I know that the project automatically opens up to localhost:8080 in my default browser, but I am trying to get it to initially open to my login…

WeekendJedi
- 67
- 10
1
vote
1 answer
Setting Atmosphere settings in Vaadin SpringBootApplication
I am using JDK17 and Vaadin 22 (Flow) in a spring boot application. I wish to set the settings for atmosphere which is used by Tomcat.
I have tried the following but it does not set the values…

Naman Shah
- 35
- 4
1
vote
2 answers
How do I force the view class to reload in Vaadin Flow when navigating to the same view
Assuming my view is:
@Route(value="test")
public class TestView extends VerticalLayout implements BeforeEnterObserver {
public TestView() {
super();
// do some stuff.
new Button("Test", click -> getUI().ifPresent(ui ->…

Stephane Grenier
- 15,527
- 38
- 117
- 192
1
vote
0 answers
Vaadin v22: Odd page displayed each time after login to application
Since upgrading to Vaadin 22 each time after log into my Vaadin app I am displayed a page that reads:
self.additionalManifestEntries = [
{ url: 'icons/icon-144x144.png', revision: '456714318' },
{ url: 'icons/icon-192x192.png', revision:…

mmo
- 3,897
- 11
- 42
- 63
1
vote
2 answers
Vaadin frontend folder Failed to load content of './frontend/index.html'
Hi I'm following this this Alejandro Duarte tutorial from vaadin chanel, but in the third video when I run my code I am having this error when I go to http://localhost:8080
java.io.UncheckedIOException: java.io.IOException: Failed to load content…

yeferson cordoba
- 41
- 8
1
vote
1 answer
How to initialize components in vaadin-dialog
I am trying to rewrite Vaadin 6 application (using complex dialog windows) to Vaadin Fusion 22. Having problems initializing dialogs.
For example set up i18n in the DatePicker. TestView.datePicker is initialized on firstUpdated(), but…

user17612316
- 13
- 2
1
vote
1 answer
Vaadin v22 DateTimePicker component renders twice
I have a Vaadin form with a DateTimePicker component that renders twice. I've been unable to determine what is causing it. The form template was generated by Vaadin Designer.
Vaadin vers: 22
Vaadin plugin vers: 4.6.11
LitElement template:
import {…

Jose Gulisano
- 1,281
- 3
- 11
- 12