1,104 questions
0
votes
1
answer
55
views
Vaadin 24 Dynamic CSS With Flow
Is there a way to apply dynamic CSS with selectors via Vaadin Flow? Obviously, you can set CSS pretty easily in most circumstances. My specific problem is that I have dynamic background colors for ...
1
vote
1
answer
47
views
Vaadin Copilot AI - Error parsing JSON: Unable to write file, JSON chunk that failed
I am testing the Vaadin Copilot AI feature on Windows 11 with Vaadin Flow and asking it to execute the following command:
Create an empty LocationView class with one button on the screen named 'Test'.
...
0
votes
0
answers
81
views
Flow Components in LitRenderer on Vaadin 24.7
I use LitRenderer to add a checkbox column to a grid. When using an <input type="checkbox">, the following code works:
final LitRenderer<Row> litRenderer = LitRenderer.<Row>...
0
votes
1
answer
28
views
Why are Vaadin frontend component versions lagging behind the backend versions?
When I build for production mode with Vaadin 24.6.5 and then check the build artifacts, I find that the frontend component versions are lagging behind. All the backend Jars have version 24.6.5, but in ...
0
votes
0
answers
33
views
Register a onClickEvent on the SplitLayout of Vaadin
How can i add a clickListener to the handle of the splitter of the SplitLayout in Vaadin Flow 24?
Can i access this element somehow? element.shadowRoot is Optional.emtpy().
Or can i add a ...
0
votes
1
answer
82
views
How to invalidate HTTP session due to user inactivity in Vaadin/Spring Boot?
I am trying to implement an inactive session expiry in my Vaadin application using OKTA for auth.
Right now, the application shows this build-in dialogue (I set the text) after the server.servlet....
0
votes
1
answer
59
views
How to define jQuery globally in Vaadin 23/24, so I can use jQuery Plugins?
In Vaadin 14 it was possible to integrate jQuery Plugins like so:
@JsModule("./src/jquery-loader.js")
@JsModule("./src/myplugin-loader.js")
In jquery-loader.js something like:
...
2
votes
2
answers
68
views
Vaadin DropTarget is not working in Production Mode anymore after updating from 24.1. to 24.6
Drag and Drop works fine when using a Wildfly in Eclipse during development, however after building the .war in production mode and deploying on Wildfly the drop target is not recognized as one (see ...
1
vote
0
answers
44
views
Vaadin Java Bridge Animation for a carousel - Dot is too large and starts right offset instead of the IndividualDotContainers center
I code in almost full Java code only and try to build components this way for vaadin.
I'm using Vaadin to implement a Carousel-like view with fixed dots (Individual Dot Containers) that should animate ...
0
votes
1
answer
43
views
Redirect to login after successful registration
I have a Vaadin Spring Boot frontend and want to redirect users to the login page after they entered their data in a registration form, clicked "sign up" and the backend returned a 201 ...
0
votes
0
answers
32
views
Vaadin TreeGrid loses its tree structure
The TreeGrid renders the root, the nodes and the leafs in the same way. They are all on the same distance in x-direction. So they all look the same, which makes it not look like a tree structure.
The ...
0
votes
1
answer
41
views
How to preselect an item from a ComboBox in Vaadin?
There is no select method in the ComboBox class. Is there any other to preselect an item in a Vaadin Combobox? This is my code:
final ComboBox<ReportTypeEnum> selectionBox = new ComboBox<>(...
0
votes
1
answer
86
views
Set padding-left for cells on first column
I would like to set the padding of the cells in the first columns.
I tried it like described here How to style grid cells in vaadin but i does not work.
I have a component that contains a grid. The ...
0
votes
0
answers
59
views
Typescript Convert String to Code Fragment
I'm working with Vaadin 24 and Kendo React, working to bring these together. I'd like to use the Kendo React webcomponents inside of Vaadin. So far, I've had excellent results with this, insofar as my ...
0
votes
2
answers
218
views
Why is MIME type of uploaded rar files application/octet-stream and how to change it to application/rar?
I am using Vaadin 24 with Spring Boot 3.x and Tomcat as servlet container. When I try to upload file with Vaadin component, Upload, MIME type of uploaded file is application/octet-stream when I expect ...