Questions tagged [hilla]

Hilla is a full-stack framework for creating web applications for Java backends. Frontend development is done with TypeScript using Web Components.

45 questions
4
votes
2 answers

Whats the catch with vaadin hilla instead of flow

I develop webapps with vaadin and flow for some time now (together with spring boot) and just stumbled across hilla, a new vaadin 'addon' or project... (www.hilla.dev). I know that flow and vaadin use typescript for some things but I never needed to…
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
3
votes
1 answer

How to migrate from Vaadin 8 to Vaadin 20 without SpringBoot but with a embedded Tomcat?

The problem I have with my current Vaadin 8 project is that I have a java entry class which starts 2 instances of a Tomcat with some static and dynamic contexts. With Vaadin 8 I used to link all the libs statically on Eclipse so I didn't use a…
Helmer Barcos
  • 1,898
  • 12
  • 18
2
votes
0 answers

Vaadin hilla property call does not exist

I was trying to create a vaadin hilla application, trying to save a person's details. Created endpoint and the person object as well, but in generated files, the error is showing as below. [TypeScript] Property 'call' does not exist on type…
anoop
  • 23
  • 6
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
1 answer

Java/React/Hilla - CSS selector for row is not working

I try to style my grid in a Hilla Project, but the css selector for a row is not working. Simple grid with 3 columns, that works { …
GoodBytes
  • 11
  • 2
1
vote
2 answers

Simple Tree Grid Example for Hilla

Consider I have near 0% experience with typescript and now a little Hilla experience (which is going great!) please be gentle with me and provide a simple Tree Grid example. I was hoping to do something easy like: export class GroceryView extends…
1
vote
0 answers

Hilla not starting Vite - what am I missing?

I have created a hilla app using this: npx @vaadin/cli init --hilla --auth hilla-with-auth Works fine! Now I am trying to add that to an existing spring boot application, but I am having issues with Vite not starting as it should. No exception. No…
1
vote
1 answer

How the serve static html files with vaadin router

I have te following route configuration in my hilla app router.setRoutes([ {path: '/', component: 'home-view'}, ]); this is works, but I need to publish some static html files. Not sure where to put the files and how to configure router to make…
virtually
  • 13
  • 3
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
2 3