Questions tagged [vaadin-fusion]

Use the [vaadin] and [vaadin-fusion] tags for any posts relating to the use of Vaadin Fusion. For posts related to any other Vaadin topic, such as Flow or a specific component, instead tag the post with its corresponding tag, for example: [vaadin-flow] or [vaadin-upload], respectively.

Vaadin Fusion is part of the new generation of user-interface toolkit for building professional-looking, business-oriented single-page reactive web apps in TypeScript and Java. Vaadin Fusion uses the same standard Web Components technology as Vaadin Flow.

Vaadin Fusion is a reactive implementation of the venerable Vaadin Framework tool for building professional-looking business-oriented user-interfaces for web apps. This alternate implementation of Vaadin uses TypeScript and LitElement for the frontend and Java endpoints on the backend as a reactive alternative to Java-only Vaadin Flow.

The current major version is 22.

The next LTS version will be version 23, slated for March 2022.

19 questions
4
votes
1 answer

What happened to VaadinWebSecurityConfigurerAdapter in Vaadin 19?

We are building a web app with Vaadin 19 Fusion, and I'm following this tutorial: https://vaadin.com/docs/latest/fusion/security/spring-login (I have selected the V19+ Docs and then Fusion) In the tutorial there is a reference to…
Rasmus Nielsen
  • 411
  • 1
  • 4
  • 18
2
votes
1 answer

Vaadin 19: Using NPM modules with own Vaadin dependencies fails

We are using Vaadin Fusion, and are stuck for the time being with version 19. In this version it is not possible to add an NPM dependency that itself depends on Vaadin components. E.g. if I have an app's package.json like this: { "dependencies":…
ThomasH
  • 22,276
  • 13
  • 61
  • 62
2
votes
2 answers

How to use URL parameters with router in Vaadin Fusion?

I tried to follow the guide at Question, which results in a mobx.esm.js?4fd9:2362 [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[MainView.update()]' TypeError: Expected "item" to be a…
Ben
  • 23
  • 2
1
vote
4 answers

I am not able to install npm packages on my vaadin project

happy new year! Any package that I am trying to install I am getting this: npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @rollup/pluginutils@3.1.0 npm ERR! Found: dev @rollup/plugin-typescript@"^3.0.0"…
1
vote
0 answers

Issue with object items in Vaadin Fusion combo box

I have a vaadin-combo-box in my Fusion v21 app which I try to populate with objects that contain a name and a value. So, I want to display the name property in the dropdown of the combo box and when I select a value, it should put the value in my…
Rasmus Nielsen
  • 411
  • 1
  • 4
  • 18
1
vote
1 answer

How to initialize components in vaadin-dialog

I am trying to rewrite Vaadin 6 application (using complex dialog windows) to Vaadin Fusion 22. Having problems initializing dialogs. For example set up i18n in the DatePicker. TestView.datePicker is initialized on firstUpdated(), but…
1
vote
0 answers

How to logout correct in stateless Vaadin Fusion 22 project with oauth2

I set up a project to be stateless according to this documentation https://vaadin.com/docs/latest/fusion/security/spring-stateless Authtorization set up through Keycloak: @Override protected void configure(HttpSecurity http) throws Exception { //…
Roman
  • 11
  • 2
1
vote
2 answers

Vaadin Fusion index.html will result in offline-stub

I'm very new to Jetty and Vaadin. I try to get a Jetty running hosting a minimal Vaadin Fusion example. However, already on the first visit on my empty index.html I got a connection lost banner and a 404 because it tries to redirect to an…
1
vote
1 answer

Vaadin Fusion Styling of Sub-Components

How do I apply part styling to a nested Vaadin component? Vaadin components expose "parts" for styling in their published APIs. Specifically, the vaadin-upload component hosts another component, vaadin-upload-file. I can style the main vaadin-upload…
ThomasH
  • 22,276
  • 13
  • 61
  • 62
1
vote
1 answer

Routing within Child Components

In a basic application you have a main vaadin-app-layout with s where the router places child components. But what if such a child component has itself child components and I want to use routes to route between them? Can I have a nested…
ThomasH
  • 22,276
  • 13
  • 61
  • 62
1
vote
2 answers

Vaadin20: Scan Java code from Pom dependency

I want to put a Java class in a Maven artifact that uses the Vaadin @Endpoint annotation (from com.vaadin.flow.server.connect.Endpoint), to use this class in multiple Vaadin projects. Here is a simple example of such a class: import…
ThomasH
  • 22,276
  • 13
  • 61
  • 62
0
votes
1 answer

why calling vaadin method @ClientCallable with object return error?

I use vaadin 23. I pass a list of book objects to the client via properties, and when I want to send back a book object by using @ClientCallable getting a type error. Error: java.lang.IllegalArgumentException: Class…
lsa
  • 63
  • 6
0
votes
1 answer

TS vaadin-dialog dialog nested form issues

I have a dialog which contains form in body and save and cancel buttons in footer. the form in the body section contains binder which is mapped with input fields. I want to validate the binder and save on button click. How to call save to child…
0
votes
1 answer

How to properly configure a multi module maven project where submodules uses Vaadin Fusion @Endpoint-s?

We have a project with several Spring Boot apps, one of them has a Vaadin Flow UI with some dev.hilla @Endpoint. The project structure: |-applications |-app1(vaadin app) |-app2(cli app) |-ui |-ui-module1 |-ui-module2 The ui modules…
notARealMVP
  • 11
  • 1
  • 3
0
votes
1 answer

How to set up a database for authenticate and data management

I just finished the in deph course of vaadin fusion (@marcushellberg). It was really good. Now Im trying to do the same but now I have a Postgres database with info, but I don't know how to load the information in the grid from the database And how…
1
2