Questions tagged [vaadin]
Use the [vaadin] tag for all posts relating to any use of the Vaadin web application development platform. For posts related to a particular Vaadin or a specific component, additionally tag the post with the corresponding tag, for example: [vaadin8], and [vaadin-upload], respectively.
vaadin
6,988
questions
0
votes
1
answer
24
views
How create a link pointing to a static HTML-page? [duplicate]
In my Vaadin application (I am using Vaadin v24.3.8) I am trying to define me a “help”-link that should serve a static HTML help-page.
The file help.html to be served is placed in folder <resources&...
-1
votes
0
answers
33
views
Vaadin Grid filter didn’t work when dataview is updated
Following the Grid Filtering example, I made a Grid where it loads the data and filters correctly, however when I update the list and the data in the Grid, the filters stop working, does anyone know ...
0
votes
1
answer
45
views
Vaadin Flow 24 controll AppLayout animation
In Vaadin Flow 24, there is a visual effect--animation--where upon initial page load, the main content in the AppLayout seems to slide into place from the top-left corner of the screen.
Is it possible ...
0
votes
1
answer
61
views
Redirection after a succeful login in vaadin application
This is my : login.tsx
import { ViewConfig } from '@vaadin/hilla-file-router/types.js';
import { useSignal } from '@vaadin/hilla-react-signals';
import { LoginI18n, LoginOverlay, LoginOverlayElement } ...
-2
votes
0
answers
38
views
Vaadin 24.4 missing dependency when building with Gradle
Building a 24.4.4 Vaadin starter with Gradle and trying to run the spring boot script after running:
gradle installBootDist
You get the following error:
java.io.FileNotFoundException: class path ...
0
votes
1
answer
56
views
Error (IllegalStateException) when upgrading Vaadin version 23 to 24
I want to upgrade my existing Vaadin app from version 23 to version 24 but I got an IllegalStateException.
I am unsure if it could be related to Spring JPA using javax persistence. I have tried to run ...
0
votes
0
answers
100
views
intl-tel-input i18n module not found
I have a vaadin 23, Spring boot 2.7.6 app. I created a typescript component for users to enter their phone numbers. I used the intl-tel-input npm package to do so.
Everything works fine except for the ...
1
vote
1
answer
49
views
Vaadin 24 with custom js webcomponent giving Uncaught TypeError: Illegal constructor
We have a vaadin flow App. We migrated from Vaadin 14 to Vaadin 24, had some issues but managed to figure them out. One thing left is custom webcomponent that another team provides. It is working fine ...
1
vote
1
answer
56
views
Testing Routes with Spring Boot und JUnit
Hello I really need help testing my routes (if that is even a good practice).
Setup:
Spring Boot
JUnit
Vaadin
I want to test my protected routes, which only admins should be able to get access to.
...
-1
votes
1
answer
32
views
Vaadin Flow: Cannot resolve symbol 'ContactFormEvent' when trying to implements events
I've been trying to implement the events in my contact form, however I get the 'Cannot resolve symbol 'ContactFormEvent'' when trying to implement the following methods:
public static class ...
0
votes
2
answers
31
views
What is the analogon of a ComponentError in Vaadin 24
in Vaadin 8, we had the so-called component errors, which I found to be very useful. (See Vaadin 8 docs 1) But how are we supposed to handle invalid input in Vaadin 24?
1
vote
2
answers
108
views
Prevent login of the same user multiple times with Vaadin 24 and Spring Security 6
I have a Vaadin 24 + Springboot 3 using spring security 6.3. I have a custom login page. Everything works fine except for sessions. Session concurrency cannot be managed whatever i tried.
My Security ...
0
votes
0
answers
42
views
ApexCharts: How to Ensure Data Labels Are Visible or Positioned Above Bars When Bars Are Too Small?
I'm using ApexCharts in my Java application to create bar charts. I'm facing an issue where the data labels are not visible when the bars are too small to accommodate them. I want to ensure that the ...
0
votes
1
answer
45
views
ApexCharts: y-axis label color not working (x-axis works fine)
I'm working with ApexCharts and I'm facing an issue where the y-axis label color isn't being applied. The x-axis color is working correctly, though.
Here's the relevant code snippet:
// Setting x-...
0
votes
1
answer
36
views
How to stop instantiating a view before the login session creation is successful in Vaadinflow?
I'm learning Vaadin and springboot, After the login authentication, I am trying to store the username in a static variable so that i can access it from another view and show on top which user is ...