Hilla is a full-stack framework for creating web applications for Java backends. Frontend development is done with TypeScript using Web Components.
Questions tagged [hilla]
45 questions
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
0 answers
Sidebar in AppLayout autoclosing
I have a basic Hilla application, but I am not able to make the sidebar of the AppLayout close when selecting a diferent element. ¿How can I make it work?
I have tried modifying the aria-expanded atribute of the DrawerToggle component, but doesn't…

GregoOS
- 1
0
votes
0 answers
Disable the workbox log in Vaadin Hilla
Because there are so many workbox log entries, I would like to disable them. Hilla generate the sw.js file, so I don't know how and where to do that.
I have to write 220 chars, but I don't what to write anymore. Sry for that line.

ladida
- 1
0
votes
0 answers
Custom Path in Vaadin Hilla
I have few custom lit components which i would like to call with import path @custom/ in Hilla
tsconfig.json
"paths": {
"@custom":["generated/jar-resources/custom"],
"@custom/*":["generated/jar-resources/custom/*"],
…

K D
- 1
0
votes
1 answer
React boostrap and MDB boostrap doesn't work inside Hilla/Vaadin
pretty much the question.
i have a hilla/vaadin spring boot application running and i want to experiment implementing react boostrap inside my application.
i installed both react boostrap and mdb boostrap using npm in my root folder
the thing is…

James
- 25
- 8
0
votes
1 answer
how to start a hilla project on an arleady finished vaadin Project
Pretty much the title, i have a Vaadin-SpringBoot project already fit with the frontend in vaadin.
My goal is to install Hilla and try React or Lit.
how could i do that?
I have looked in the documentation all i could found is how to start a Hilla…

James
- 25
- 8
0
votes
0 answers
Why is my error message not showing in React Formik?
I try to set an error message to a field, when submitting the form results in an error.
I use the useFormik. The Structure is like
InterfaceType : {
names:[TranslationInterface]
}
TranslationInterface : {
language: ENUM,
value:…

GoodBytes
- 11
- 2
0
votes
0 answers
Not assignable type React, Typescript, Hilla
I try to set the colspan of a textfield like in the documentation of Hilla.
https://hilla.dev/docs/react/components/form-layout

GoodBytes
- 11
- 2
0
votes
0 answers
Could not load [META-INF/frontend/lumo-includes.ts]
After upgrading to hilla 2, I got run time error,
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [META-INF/frontend/lumo-includes.ts]. The following stack trace is thrown for…
0
votes
1 answer
Can a hilla app be webpacked to a .js file that can then be included in another web app?
I.e, not to use the default web page from spring, but to include the webpacked .js file in another javascript app?

Franz
- 41
- 3
0
votes
0 answers
Separate Drawer in App Layout for different Main Views/Paths
I have two different drawer view
1.app-drawer-projects
2.app-drawer-users.
I have two different Main view
1.app-project-view
2.app-user-view.
Now when I go to app-project-view path /project, I want to set the drawer to app-drawer-projects
and when…

K D
- 1
0
votes
1 answer
How to set the the main theme at build or deploy time?
I look for way in Vaadin Flow & Spring Boot to set the main theme at build time or via properties, but it is not working. Any ideas how it can be achieved?
Background: I have an application which I like to have the same code but deployed on…

megloff
- 1,400
- 4
- 27
- 44
0
votes
1 answer
Does production mode in Hills 2.0.0.beta1 (Vaadin) require a pro license?
This is happening also for Hilla version 2.0.0.beta1.
See: Does production mode in Vaadin 24 require pro license?
It always asks for a license and I'm using just core components. Any other work-around or is the same case as Vaadin 24.0.0?
When you…

Ricardo
- 1