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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Style slotted Vaadin component in LitTemplate

In Vaadin 24 I use a LitTemplate to create an own component. I defined a vaadin-button in the template and I can style it and its label with #headInfo and #headInfo::part(label). import {LitElement, ...
herby3's user avatar
  • 25
0 votes
0 answers
26 views

Getting exception stack running Vaadin Hilla example

I wanted to give a try to Vaadin Hilla project. Downloaded Vaadin Hilla Example from https://github.com/vaadin/hilla-examples Imported as Maven project into Eclipse STS run mvnw in the terminal Few ...
Victor S btk467's user avatar
0 votes
0 answers
14 views

Unable to find 'jsinterop/annotations/Annotations.gwt.xml' on your classpath

During setting up new environment (new machine), I got the following error: --- vaadin-maven-plugin:8.17.0:compile (compile_theme) @ xxx [INFO] auto discovered modules [AppWidgetset] [INFO] Using com....
aha's user avatar
  • 33
0 votes
1 answer
23 views

How to add a tooltip to an element in Vaadin Lit Template

I'm using the LitRenderer to render various vaadin-icon elements inside a Grid. There is no documentation on how to add a tooltip to components within a Lit Template. java: grid.addColumn(LitRenderer.&...
The Shoe Shiner's user avatar
0 votes
0 answers
38 views

For Grid Table, how can I click tab to the next cell without focuslost?

I used Vaadin 8.20. The project coding language is Java. I have a grid table that has some columns. After I change one cell value and click tab to move the focus to next cell, the focus will suddenly ...
roy2004's user avatar
0 votes
0 answers
24 views

Vaadin Heartbeat causing OIDC State Mismatch after Keycloak Login in Wildfly Elytron

After logging in, the page throws a bad_request error. The issue arises from Vaadin sending a heartbeat request after redirecting to the Single Sign-On (SSO), subsequently overriding the state ...
Somogyi Botond's user avatar
0 votes
0 answers
24 views

Add chrome options at launch in Vaadin 24 Testbench

I'm using Vaadin 24 TestBench, Spring Boot 3.1 and JUnit5. I need to add some custom arguments to chrome driver, particularly the option disable-software-rasterizer, otherwise the browser opens with a ...
Dario Zamuner's user avatar
0 votes
0 answers
22 views

In Vaadin 14 how do I force the scrollbar on a ListBox to move to the top when new items are loaded

I am using Vaadin 14 and have implemented paging for a ListBox that uses a forward button to load the next n items and a back button that to load the previous n items. The problem I have is that if I ...
aculb's user avatar
  • 1
0 votes
0 answers
31 views

Secure Spring Boot / Vaadin web-interface with rest api

I made an app with Spring Boot and Vaadin which provides rest functionality for mobile devices. Currently the api-requests are secured by an Auth-Token and I want to use the security features for the ...
Martin Pfeffer's user avatar
0 votes
0 answers
57 views

Vaadin 24.2.5: TextFields do not get focus by mouse click

There is a strange behaviour of TextFields (and TextAreas) in my applications when built with Vaadin 24.2.5. Most of TextFields and TextAreas (but not all) do not get the focus when clicked into, but ...
Torsten's user avatar
-1 votes
0 answers
47 views

CRUD Weirdness After Switching from Spring Boot/Vaadin 14 to Vaadin 14 CDI

Per a different question thread, I'm following someone's advise to switch from Spring Boot/Vaadin to Vaadin CDI, so my app will finally deploy on JBoss 7.1 under Java 8. I've successfully deployed a ...
BelaOxmyx's user avatar
2 votes
1 answer
82 views

WebAuthn: Does navigator.credentials.create() work from localhost to another (sub)domain?

I am trying to develope the WebAuthn registration flow in Java. For this reason I got access to the privacyIDEA server from my university. Let's assume, for example, that the origin domain from my ...
user2379123's user avatar
-2 votes
1 answer
64 views

Hilla app launch error. No valid executable found

Trying to launch the hilla app and getting below error message: I am trying to launch the application from this github repo: https://github.com/marcushellberg/customer-support-agent dev.hilla.engine....
Amit Tamrakar's user avatar
0 votes
0 answers
45 views

Why is my SecurityContextHolder resetting after navigating to the new UI in my vaadin application?

My SecurityContextHolder reset after navigating to the new UI or refresh the page in my vaadin application. I have used the Firebase authentication successfully using JavaScript and then I got the ...
Nuyun Pabasara's user avatar
0 votes
1 answer
37 views

Vaadin setting background-images removes buttons' backgrounds

I'm setting a background image for my page (based on a VerticalLayout) as described here: https://vaadin.com/forum/thread/17221780/setting-style-background-image-on-layout This works well, the image ...
padmalcom's user avatar
  • 1,189
0 votes
0 answers
23 views

vaadin 14 dataProvider with fromFilteringCallbacks method issue

I'm working with Vaadin 14 & Springboot application I created a combobox and set the DataProvider using fromFilteringCallbacks function.My issue is the combobox is all time empty althougth I have ...
Nouha Mhadhbi's user avatar
0 votes
1 answer
43 views

Vaading setAllRowsVisible, lazy loading grid

Im using Vaadin 24. Currently I have grid which is using CallbackDataProvider to lazy load the data from database, but problem is that I want this grid on whole page not just as a seperate table, so I ...
impi1111's user avatar
0 votes
3 answers
64 views

Remove border from component

I want to create a search field with a combobox as prefix component so that the user can specify the entity type that he wants to search for. To make it look nice, I want to remove the border from the ...
padmalcom's user avatar
  • 1,189
0 votes
0 answers
47 views

Need Help Deploying Vaadin 14 app to JBoss EAP 7.1 on Java 8

I'm attempting without success to deploy a basic Spring Boot/Vaadin 14 Greeter application to JBoss 7.1 under Java 8. Steps to recreate. Clone this branch of my GitHub repo locally. Optionally, skip ...
BelaOxmyx's user avatar
0 votes
1 answer
35 views

How to define a custom step value for vaadin-integer-field

I am trying to pass 0.001 as a step value to vaadin-integer-field and I receive this browser console warning: <vaadin-integer-field> The `step` property must be a positive integer but `0.001` ...
Newsha Nik's user avatar
0 votes
1 answer
49 views

@Theme annotation is ignored

I use the Theme annotation in a class extending AppShellConfigurator ar required. @Theme(value="Material") is my annotation. However I can write anything in the value, also meaningless ...
Tullio's user avatar
  • 11
1 vote
1 answer
69 views

How to serve uploaded Images from external Folder with Vaadin?

Dear all I am using Vaadin v24 and created an upload feature for images. I know how to read and serve single images by using Vaadin Resource Classes, but I am wondering how I can configure the Vaadin ...
megloff's user avatar
  • 1,440
-2 votes
1 answer
64 views

Replacing Tomcat with Undertow in Vaadin + Spring boot project - ERR_CONNECTION_CLOSED

I want to replace Tomcat with undertow. Everything seems fine but there is no error and any other information that something is wrong when I try to conenct to rest api or vaadin views. Only browser ...
Jason The Dynamite's user avatar
0 votes
0 answers
45 views

Disable few checkboxes based on a condition in Vaadin Grid Multi selection

Does someone know how can I disable few checkboxes when using Vaadin Grid with MULTI selection mode. I tried to look in the SelectionModel and Vaadin documentation but didn't find anything. Also, ...
GoT's user avatar
  • 1
0 votes
1 answer
38 views

How to enable brotli compression for static resources in Vaadin?

I like to put some of the CSS file under the static java resources folder ${project}/src/main/resources/META-INF/resources in Vaadin so I can share it across the different themes and can be loaded and ...
megloff's user avatar
  • 1,440
0 votes
0 answers
46 views

Configure Vaadin timeout (not session)

My Vaadin application (version 8, but same behavior in Vaadin 24) has a button which generates a file to be downloaded. new FileDownloader(resource).extend(button) In some cases the generation of ...
ropo's user avatar
  • 1,466
1 vote
0 answers
35 views

How to configure GCP Load Balancer path matchers for Cloud Run service with custom context path (Vaadin App)?

I have a Vaadin (24.2.2) Spring Boot (3.1.5) app deployed on Google Cloud Run, which is set to serve content on a custom context path "/pbuilder". I've put a Google Cloud Load Balancer in ...
Ben's user avatar
  • 319
0 votes
1 answer
65 views

Vaadin: How to get TextField keypress event to fire when in a Grid Header?

Vaadin V24, Java. I have a grid that will hold data of, let's say, PojoClass. In the header of that grid, I have a TextField. When you type something into the field and press the Enter key, the value ...
James Asher's user avatar
0 votes
0 answers
58 views

Styles.css not applied after migration from Vaadin 14 to Vaadin 24

I'm still working on the migration of our app from Vaadin 14 to Vaadin 24 and I've managed to have it more or less working. One of the last issues is that most of the CSS is not present. I've followed ...
Yberamos's user avatar
1 vote
1 answer
48 views

Catch timeupdate event of an audio tag in vaadin

I use the audio tag in a component as propsed here: https://cookbook.vaadin.com/embed-audio Now I want to fire an event when the audio plays. I found out that the audio tag provides the timeupdate ...
padmalcom's user avatar
  • 1,189
0 votes
0 answers
44 views

Error launching application after migration from Vaadin 14 to Vaadin 24

I've tried migrating an old application from vaadin 14 to 24 using https://vaadin.com/docs/v23/upgrading/essential-steps followed by https://vaadin.com/docs/latest/upgrading I've manage to resolved ...
Yberamos's user avatar
0 votes
1 answer
82 views

Disable Vaadin CSRF

I'm using Vaadin 24.2 + Springboot 3.1.5 and Spring Security So, according to this: Vaadin Docs All requests between the client and the server are included with a user-session-specific CSRF token. ...
Mei Mariang's user avatar
0 votes
1 answer
77 views

How can I style the footer in a grid?

I created a Vaadin (v24.2.1) grid with a FooterRow which I am not able to style using the css selectors. The footer was created with: FooterRow footer = this.grid.appendFooterRow(); footer.getCell(...
Florian's user avatar
0 votes
1 answer
61 views

How do I show a tree with all kind of different nodes in Vaadin 24?

Earlier versions of Vaadin used to have an actual tree component, like in Vaadin 6 (https://vaadin.com/download/book-of-vaadin/vaadin-6/html/components.tree.html) But the current component set does ...
tbeernot's user avatar
  • 2,483
0 votes
0 answers
52 views

In a DatePicker in Vaadin Flow, how to get the invalid value?

I really need the invalid field value ("today", "last week monday" etc) in the DatePicker (https://vaadin.com/docs/latest/components/date-picker). How is it possible to retrieve ...
SydMK's user avatar
  • 443
0 votes
0 answers
31 views

Vaadin jetty live reload not picking up class changes

I've created a fresh Vaadin app from the maven archetype and run it through the maven jetty plugin. In the log I see the "Scan interval sec = 2" but it's not picking up any java changes (...
Nicklas Karlsson's user avatar
0 votes
0 answers
35 views

Sophos Home Premium blocks Vaadin XHR Requests

We host a Vaadin application on a Tomcat webserver. Users using Sophos Home Premium have issues connecting to our page. The Chrome and Firefox developer console shows that some(not all) XHR Requests ...
Torben's user avatar
  • 1
1 vote
1 answer
108 views

InteliJ Vaadin Designer plugin causes infinite "scanning files to index"

I recently setup a new Spring Boot project using Maven, Java 21 and Vaadin 14.10.9. I use IntelliJ as my IDE. Because I am using Vaadin, I installed the "Vaadin Designer" pluging. When I try ...
Astarno's user avatar
  • 424
0 votes
0 answers
36 views

How to integrate Vaadin 14 (application written in java only) with a new React module?

We have a Vaadin app written in Java only. Our architecture principles changed and we plan to write a new module of this app using React. This module will have its separate route. We want to write ...
Mari's user avatar
  • 173
0 votes
2 answers
101 views

Vaadin Grid show all item details by default

I have a grid with a ComponentRenderer setup like this. My goal is to show all details of all items in the grid by default. grid.setItems(dataProvider); // this prevents other items from collapsing ...
paresi's user avatar
  • 1
0 votes
1 answer
32 views

Vaadin 23 throws RouteNotFoundException although it exists

I upgraded Vaadin 14 to 23 and i'm having problems when trying to access a view. I'm using RouterLinks, but every single time I click a menu item in order to navigate to another view, it throws "...
Tomás Atrat's user avatar
0 votes
1 answer
74 views

Issue with POST requests on Spring Boot 3/Spring Security 6 Vaadin 24 application

I have a Vaadin Application and I am trying to upgrade it from Vaadin 14 to 24 and that brings along an upgrade from Spring Security 5/Spring Boot 2 to Spring Security 6 and Spring boot 3. I am having ...
JohnM's user avatar
  • 31
0 votes
1 answer
60 views

Vaadin: How to set a partial value in the input field of a Combobox and trigger the popup to open?

Vaadin V24, Java. I'd like to programmatically set the text of a ComboBox (partial input) that's being used as a search field and then trigger it to do the search. This would be just as if the user ...
James Asher's user avatar
0 votes
1 answer
84 views

Labels are sometimes not shown on vaadin-custom-field that contains custom element

I'm experiencing this on Vaadin 24.x Flow project on Spring Boot. I have a view that contains FormLayout like this: <vaadin-form-layout id="feed-overview" class="osiris-card orisis-...
Dima Yankin's user avatar
0 votes
1 answer
53 views

Vaadin 24: TinyMCE for Flow (Team Parttio version) Initial Render Blank

I'm using the TinyMCE editor for Vaadin Flow by Team Parttio (https://vaadin.com/directory/component/tinymce-for-flow) with Vaadin 24.1.3 and Version 4.0.5 of the TinyMCE Editor. This component is ...
clickguy's user avatar
0 votes
0 answers
31 views

CSS in embedded Vaadin applications not working

My Vaadin 24 components are embedded as described in https://vaadin.com/docs/latest/integrations/embedding/exporter The DOM looks like this: <script type="text/javascript" src="/web-...
ropo's user avatar
  • 1,466
0 votes
0 answers
24 views

Vaadin 23 upgrade issue with generated-flow-imports

I'm in the process of upgrading an application from Vaadin 22 to Vaadin 23. In development mode, I have some issues (which I'll handle later) but at least I can see the application in the browser ...
herman's user avatar
  • 11.8k
0 votes
0 answers
46 views

Vaadin + Spring Boot + JDBC + JDBC Session causing restart loop

I am using Vaadin 24 and have tried the below with Vaadin 23 also. I need to store session data related to user's activity so we tried using Vaadin's Web Storage API and our code look like the ...
Shubham's user avatar
  • 58
0 votes
0 answers
59 views

Callback oauth2Login()/re-login Spring Security

I want to re-login after token expires, I can't find suitable examples and resolve that. @Override protected void configure(HttpSecurity http) throws Exception { http....
0 votes
0 answers
34 views

How to change the end_session_url in Keycloak?

I have a Dockerized stack with Keycloak, Vaadin, and Wildfly. Wildfly communicates with Keycloak over kc-net. When Vaadin invokes VaadinServletRequest.getCurrent().logout(), Wildfly sends a POST ...
Somogyi Botond's user avatar

1
2 3 4 5
138