1,109 questions
0
votes
1
answer
34
views
Issues Vaadin ComboBox using an AbstractBackEndDataProvider in a UI view
I'm developing a Vaadin project which fetches data from an external web API. On the frontend I have a combobox that is outsourced using a AbstractBackEndDataProvider, the details are as follows:
...
0
votes
1
answer
26
views
Focus enabled button Tab press out of required field
Context:
I'm using Vaadin Flow version 23.
I have a TextField that is bound using asRequired(), an "Add" button that is initially disabled and a "Cancel" button.
On the binder, I ...
1
vote
1
answer
84
views
Vaadin 24 visible suffix component when TextField/TextArea disabled
I'm trying to add a copy button to the clipboard for input fields. It is required to add the element specifically to the component suffix, and not through the use of horizontal layout (if possible).
...
4
votes
1
answer
63
views
Vaadin 24 compile issue with CustomField java generics
I'm upgrading a Vaadin 23.2 app to Vaadin 24.8. I have a compilation error on one of my components. It's a simple custom field with this signature:
public class MyField extends CustomField<String&...
0
votes
1
answer
105
views
How to create an Image component in async block of code?
Trying to create an Image asynchronously and then update the UI via push, however Image constructor Image(DownloadHandler downloadHandler, String alt) throws exception:
Exception in thread ""...
1
vote
1
answer
70
views
Vaadin23 app keeps refreshing repeatedly when using Spring Session JDBC
I'm building a Vaadin 23 + Spring Boot 2.7 application and trying to integrate Spring Session JDBC to expire sessions after 1 minute of inactivity.
Problem:
When I start the app, the browser (...
0
votes
1
answer
52
views
Vaadin TestBench Page Object for Dialog
I am trying to create a Vaadin TestBench Page Object for Dialog:
@Element("vaadin-dialog-overlay")
// or
@Tag("vaadin-dialog-overlay")
public class TaskFormElement extends ...
0
votes
1
answer
92
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
68
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
91
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
60
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
1
answer
161
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
89
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
87
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
52
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 ...