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
1
vote
1 answer

Fitting Vaadin grid into the screen

I am displaying books information in the Vaadin grid. It is displayed almost as I wanted it, but still having problem that I don't know how to solve. Therefore I would appreciate advice(s). Here is how I am creating this grid: private void…
Gary Greenberg
  • 1,084
  • 8
  • 14
1
vote
1 answer

vaadin web-component in raw html

vaadin 23. We are storing html in a database which we need to render within a vaadin component. The html includes a web component 'text-block' The text-block can contain nested children:

Brett Sutton
  • 3,900
  • 2
  • 28
  • 53
1
vote
0 answers

App loading issue after upgrading from Vaadin 23.1.0 to 23.2.8

After upgrading to the latest release (23.2.8) from 23.1.0, I am able to successfully compile and deploy my application - however, it fails to load on the client side. I get an indefinitely flashing progress bar at the top of the page instead. Has…
schaphekar
  • 495
  • 1
  • 5
  • 18
1
vote
1 answer

Vaadin 23 tabs horizontal mode switch to multi-line

Is it possible somehow to configure Vaadin 23 horizontal Tab component to work in multi-line mode (when there is no enough horizontal space) instead of scrolling? The issue - some users complain that scrolling doesn't work properly on some mobile…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
1 answer

Vaadin 23 how to add multilanguage meta description to the page

I know how to add meta page title in Vaadin 23 - I use HasDynamicTitle and thus can provide different titles at different languages (depends on the user locale) for different pages. But how to do the same meta description? I need to be able to…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
0 answers

Vaadin23 Uncaught (in promise) Error: Client is resynchronizing

From time to time the Vaadin application becomes unresponsive and in the web console I see the following error: Uncaught (in promise) Error: Client is resynchronizing https://example.com/VAADIN/build/FlowClient.638236c0.js:1 What might be causing…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
0 answers

Vaadin23 with NGINX and websockets

I run NGINX in front of Vaadin 23 Spring Boot application. From time to time the web application becomes unresponsive. In the browser console, I see the following 501 error: GET…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
1 answer

Vaadin 23 ErrorHandler for Async exceptions

I have some basic ExceptionHandler view: @ParentLayout(MainLayout.class) @AnonymousAllowed public class ExceptionHandler extends VerticalLayout implements HasErrorParameter { static final Logger logger =…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
0 answers

Vaadin Grid: How to set column order from javascript?

I want to save and load column settings (width, visibility, order, etc.) for each user in localstorage or on the server (I have not decided yet). To do this, I made my own component, which should be able to load, save and apply grid settings…
1
vote
0 answers

Vaadin 23 TypeError: error loading dynamically imported module

In Firefox browser, not always (but very often) I see the following error in the console (and page is unable to load): TypeError: error loading dynamically imported module Only after Ctrl + F5 the page is loaded correctly. Also in the Network tab I…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
1 answer

Vaadin 23 UI navigate to target with route and query parameters

The following code I use to navigate to the target with Route parameters: UI.getCurrent().navigate(ViewCandidateView.class, new RouteParameters(ViewCandidateView.PROFILE_UUID_PARAMETER, profileDecisionMatrix.getDecision().getUuid())); which…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
0 answers

Vaadin v23 -Pproduction BUILD FAILURE

I updated all architecture (Java17, Maven3, Spring 2.7/core5.3...) and Vaadin 23, but I can only run in development mode. I can no longer run -Pproduction. Build failure : [INFO]…
user2468851
  • 61
  • 1
  • 3
1
vote
2 answers

Vaadin 23 change text color for TextField component

In case of error, I need to change the text of TextField to var(--lumo-error-text-color) I tried the following: textField.getStyle().set("color", "var(--lumo-error-text-color)"); but it doesn't work. How to properly change the text color of…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
1 answer

Vaadin 23 question regarding the security aspect

Let's say I have an administration view. In the constructor of the view, I check that the user have ADMIN role. Then I create a view. During interaction of the user with the view, I see many Vaadin internal client-server calls. Should I worry about…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
1 answer

Vaadin 23 open new browser tab with url on Button click

I may open a browser new tab with Anchor component configured with target=_blank. How to do the same in Vaadin23 with the Button component inside the ClickListener code?
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1 2
3
12 13