Questions tagged [vaadin23]

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.

191 questions
0
votes
1 answer

Vaadin 23.3 close tooltip by clicking on the text

I'm upgraded to Vaadin 23.3 Preview because of Tooltip component. Works and looks great. Only one question - I use the tooltip as a toggletip. I added an icon to my textfield and manually open tooltip by clicking it. In order to close the tooltip, I…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin 23 Spring Security with Keycloak - redirect user after login to the correct page

I configured Vaadin 23 application with Spring Security and Keyclock. Everything works fine except the users are not redirect to the page where they initiated the login process. The user is always redirected to the home page. This is a…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin 23 user online tracking

I would like to implement a functionality that will show that the current user is online on a website. To do that I need to track it somehow. For example, I can use com.vaadin.flow.server.SessionInitListener, but the problem is that the user session…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin 23 + Spring Security 5.2.x - Redirect to login page after session is invalidated in security filters chain

We are developing a web application in Vaadin 23.1.x that based on Java 11 and Spring Boot, secured by Spring Security 5.2.x and integrated with Keycloak for authentication purposes. We need to limit the maximum number of sessions opened by users…
Pedro
  • 1
0
votes
0 answers

Vaadin 23 add favicon to non-PWA application

I removed @PWA annotation from my Application. Now I need to add a favicon. I know how to add favicon to the PWA Vaadin application, but how to do the same for non-PWA application? Where it should be placed and how to configure it?
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin 23 unable to fully reload application after redeploy

Right now I'm preparing my Vaadin 23.2.5 application for production and very often after redeploy the application unable to fully reload itself and hangs with fat blue progress bar at the top. The only issue I may see, is the following JS issue in…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin 23 frequently loses active session and user has to login again

I noticed that my Vaadin 23 application often loses the active session and the user needs to log in again. Most often it is happens on my IPhone, but on the desktop browsers it appears as well. This is my SpringBoot…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin 23.2.5 and flow-server

Vaadin recently updated to Vaadin 23.2.5 but I can't find the corresponding flow-server dependency of the same version: com.vaadin flow-server
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin 23 add social share buttons and Google Analytics

Is it possible to add to the Vaadin 23 application social share buttons? Like for example https://sharethis.com/ This website provides JavaScript code which should be embedded into the application. Is it possible to embed this code into the Vaadin…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin v.23 how to create a popup window that will return a value on closing

I am still learning Vaadin while trying to make my application. I have a button with click listener. Upon click it shall open a popup window, passing in an object. In this popup window I have several text fields and buttons to edit this object. I…
Gary Greenberg
  • 468
  • 1
  • 9
  • 22
0
votes
1 answer

Vaadin23 PUSH UIDetachedException

I have the following broadcast handler in the MainLayout @Override protected void onAttach(AttachEvent attachEvent) { super.onAttach(attachEvent); SecurityService securityService = serviceFacade.getSecurityService(); UI ui =…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin23 Server Push for specific other user

There is a Vaadin 23 tutorial which shows how to send messages to all users (broadcast) https://vaadin.com/docs/latest/advanced/server-push But what if I need to send a Push message from me to only one other specific user? Is it possible with server…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
2 answers

Vaadin, how to autowire spring component in custom constraint validator

I am working on an app using spring boot for the backend and vaadin for the frontend. I need to add validation, which needs to do a database check - is email registered in this particular example. Example of what i want to achieve: @Component public…
Chaosfire
  • 4,818
  • 4
  • 8
  • 23
0
votes
2 answers

Vaadin 23: startup fails with "TypeError: cli.isMultipleCompiler is not a function"

I have a project with Vaadin 23.0.8 that fails to start with the error message "cli.isMultipleCompiler is not a function". It seems to be a compatibility problem with webpack-cli Version 4.9.2 which needs to be upgraded to 4.10.0
Chris
  • 834
  • 1
  • 10
  • 23
0
votes
0 answers

Vaadin production build is not running properly

My Vaadin (ver 23.1.2)-spring boot app builds and runs perfectly in development mode, but with the production build, it just hangs loading. Any Idea how to find the problem?
m-abdi
  • 540
  • 1
  • 7
  • 30