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
0 answers

How to use vaadin binder when dto's consist of nested dtos in vaadin 23

@AllArgsConstructor @NoArgsConstructor @Data public class JobDto { private Long JobId; private String jobName; private String jobDesc; private String status; private boolean isScheduled; private String cronExpression; …
0
votes
1 answer

Vaadin 24 front end development bundle throwing a DOMException due to 'vaadin-button' being already used with this registry

I am updating my vaadin application from 23.3 to 24 and spring version to 3.0.4. I have found that when running my application locally I receive an error inside the browser, see below: Uncaught (in promise) DOMException: Failed to execute 'define'…
0
votes
1 answer

Cannot get value from Vaadin Dialog

From the Grid context menu I am getting an Object (Book) which I need to open in the editing form. However, some books are multi-volume series and I need to choose one volume. For this purpose I have written another class extending…
Gary Greenberg
  • 468
  • 1
  • 9
  • 22
0
votes
0 answers

Multi-level context menu for Vaadin application - advice needed

I have developed Vaadin application for our book club. It's main content is a grid, displaying book information. I do have a GridContextMenu that allows to do some CRUD operation, add comments, etc. It is all working as it should, except couple…
Gary Greenberg
  • 468
  • 1
  • 9
  • 22
0
votes
1 answer

Vaadin application isn't working on the Tomcat

I finally was able to deploy my Vaadin application to the Tomcat 9 without any errors. The Tomcat status shows status as running and log has no errors. The tail of it looks like this: 2023-03-08 21:35:22.487 INFO 64412 ---…
Gary Greenberg
  • 468
  • 1
  • 9
  • 22
0
votes
1 answer

I am using Vaadin 23 and Spring security with PostgresSQL. I have entity, repository and service classes are done. need help - login authentication

I want to modify the bean public UserDetailsManager userDetailsService(). I want to get the username from the login form and find if the user exist in the database and then return the usedaetails using that found user. here is the code given by…
0
votes
0 answers

Vaadin application throws exception upon deployment

I am still struggling to make Vaadin application work on Tomcat. After taking care of one problem described in Vaadin application deployed to tomcat can't start I am getting another exception that has no relation to my code. I do not have any…
Gary Greenberg
  • 468
  • 1
  • 9
  • 22
0
votes
0 answers

How to add a column, with an SVG containing a circle element, to a Vaadin Grid in Vaadin 23

I have recently updated my application to Vaadin 23 from Vaadin 14, and I have discovered that I can no longer add a column to a vaadin grid that uses a Component Renderer to create an SVG containing a circle element. Which I was able to do in…
0
votes
0 answers

Lombok: Vaadin binder gets a stackover flow error when entity model consist of a another model

I'm getting this error when my entities consist of another entities. I also tried Jackson annotations also doesn't help. when only trying to save one entity it is fine. It happens when models consist of other models java.lang.StackOverflowError:…
0
votes
0 answers

How to unselect grid items when loading grid

When using Vaadin 22 the method this.customerGrid.setItems(result.getResult()); selected items of the grid where automatically unselcted and it was not necessary to manually call a method to unselect any itmes. With Vaadin 23 this dies not work…
Florian
  • 110
  • 7
0
votes
1 answer

Vaadin 23 change requestUrl from http to https

Inside of the Vaadin generated html page I see the following line: "contextRootUrl":"./","heartbeatInterval":300,"maxMessageSuspendTimeout":5000,"v-uiId":3,"requestURL":"http://examplecom/","productionMode":true,"appId":"ROOT-2521314"," I'm…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin with external js (html5-qrcode.min.js in this case), correct way to implement it?

Have problems to use the html5-qrcode.min.js file in Vaadin23. I haven't found any examples how to include external js files and invoke them properly, so I guess what I actually looking for it the correct way to implement with external js…
Andreas Mattisson
  • 1,051
  • 2
  • 19
  • 39
0
votes
1 answer

Vaadin 23.2.0: Module not found: Error: Can't resolve '@vaadin/combo-box/src/vaadin-combo-box-dropdown.js'

I was previously using Vaadin 23.1.1 and upgraded to Vaadin 23.2.0 to be able to use the Confirm Dialog for free. Now I get some random errors when starting my application. It doesnt matter if I am using Vite or Webpack the Error is basically the…
0
votes
1 answer

No qualifying bean of type 'com.vaadin.flow.spring.security.VaadinDefaultRequestCache' available

Just upgraded a small vaadin application vom 22 to 23 and now I have a problem that the system throws an error on startup that my securityConfig requires the com.vaadin.flow.spring.security.VaadinDefaultRequestCache bean which is not available. I…
Florian
  • 110
  • 7
0
votes
2 answers

Vaadin application deployed to tomcat can't start

I have completed my Vaadin application. It is working almost as expected in my IDE. Now I need to deploy it to the production server to the Tomcat container. I have changed packaging to WAR and followed instructions on…
Gary Greenberg
  • 468
  • 1
  • 9
  • 22