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

How to solve "java.lang.NoSuchFieldError: Companion"

I'm following this guide to test Vaadin app using Selenium. The following line: var driver = new ChromeDriver(); produces the following error: java.lang.NoSuchFieldError: Companion In my pom.xml I have
0
votes
0 answers

Number of currently visible elements in Grid

In my project, I use a grids with filtering and sorting via lazy-loading but also via in-memory filtering/sorting, depending on the expected number of elements in the database... Of course, the user does not need to know the data retrieval…
saleksand
  • 11
  • 2
0
votes
0 answers

Defining own VaadinServlet/VaadinServletService/VaadinSession for Vaadin 23

I took a lookat the old Vaadin 14 Application Lifecycle Documentation. There you could configure your own Servlets, Services and Sessions. I kinda need that, because I need to add on top of the regular Vaadin Sessions. Simply defining my own Classes…
0
votes
1 answer

BigDecimalField validation bug

BigDecimalField has a nice feature: it allows only digits, "+" and "-" signs, and a decimal separator defined by the current locale ("." or ","). It works fine until someone tries to enter a combination that is not a number or cannot be directly…
saleksand
  • 11
  • 2
0
votes
1 answer

Vaadin 23 align components in Grid header for filtering

This is the code I have for Grid filtering components: headerRow.getCell(idColumn).setComponent(FilterUtils.createIdFilterHeader(dataViewFilter::setId,…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Failing to deploy Vaadin application on Tomcat 10

I have developed my Vaadin application (v.23) and trying to deploy it to Tomcat 10.1.5 on Ubuntu box. I created a production build according to the Vaadin documentation and got a WAR file. I did place it to the webapps directory of the tomcat and…
Gary Greenberg
  • 468
  • 1
  • 9
  • 22
0
votes
1 answer

vaadin 23 how do i get my grid to autoupdate every few minutes?

I'm new to vaadin and currently I'm doing this project at work and have to make a grid autoupdate from the database, can anyone help me? I've looked around for documentation and tried using TimeTask but it did not work.
0
votes
1 answer

vaadin flow 23 - in memory gird sort not working

I'm trying allow a user to sort the grid by a column who's value is derived: grid.addColumn(Category::getPath).setHeader("Path"); grid.addColumn(category -> getCount(category)) .setHeader("Packages") …
Brett Sutton
  • 3,900
  • 2
  • 28
  • 53
0
votes
0 answers

Initial loading animation problem (Vaadin.Flow.loading)

I am trying to change the initial loading screen of my page through Vaadin. I am experiencing a couple of problems. I tried to create initial loading animation following a forum post, but a TypeScript function doesn't work because TypeScript never…
ImRobb
  • 21
  • 4
0
votes
0 answers

Possible to download file to specific folder?

I have built a vaadin application where the user is able to download a file using the Lazy Download Button (https://vaadin.com/directory/component/lazy-download-button/overview). This file always ends up in the folder 'downloads'. Is it possible to…
0
votes
2 answers

How to display JSON data in Vaadin Grid?

Vaadin version : 23.3.1 I am trying to display the fetched JSON data in grid, It is ignoring the new line in the data. I have bunch of JSON data which I am adding to a list and will add to the grid later class Details{ String message; …
Harry
  • 1
  • 2
0
votes
0 answers

Can't move a node from one state tree to another ERROR with Vaadin23

I'm developing a simple application based on Vaadin 23 – Plain Java. For the SessionManagement I created a class named AppServlet public class AppServlet extends VaadinServlet implements SessionInitListener, SessionDestroyListener{...} When I…
0
votes
0 answers

Vaadin23 vaadin.eagerServerLoad=true and BeforeEnterObserver

I switched to vaadin.eagerServerLoad=true in order to fix the issue with incorrect HTTP status code (I need to return 404 when it is needed). I also noticed one issue which potentially maybe related to the vaadin.eagerServerLoad=true. On the views…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
2 answers

Vaadin modify IndexHtmlResponse to set meta tags

In order to improve SEO of my Vaadin application I'd like to set up custom meta tags. For this purpose I'd like to use IndexHtmlRequestListener: serviceInitEvent.addIndexHtmlRequestListener(new IndexHtmlRequestListener() { @Override …
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin 23 and ONE ROUTE for All Access Denied Exceptions

I have Vaadin 23 app. I want ONE ROUTE for all errors/exceptions and especially for all ACCESS DENIED exceptions.... how can I accimplish that withough refefinding @Override public void beforeEnter(BeforeEnterEvent event) { from BeforeEnterObserver…