Questions tagged [vaadin10]

Vaadin is a web development platform that consists of components, a Java framework, and tooling. Vaadin 10 is the first release that is not based on GWT anymore but supports webcomponents. Vaadin 10 was superseded by Vaadin 14 in August 2019. Vaadin 10 is supported until Jun 2023, extended maintenance commercially available until Jun 2033.

Vaadin 10 (aka Vaadin Flow) is an open source web application framework for rich internet applications.

142 questions
1
vote
1 answer

Vaadin 10/Flow theming with Lumo

I'm having some trouble understanding Vaadin 10 theming: I've read all documentation on site but I can't solve my problem. For example: if I start a plain Vaadin 8 application from scratch, when I stop the server I get a nice notification from…
Leviand
  • 2,745
  • 4
  • 29
  • 43
1
vote
1 answer

Vaadin Flow &Spring Boot cant find resource via servlet context

Im running in an issue with the new Vaadin Flow issue which makes me crazy the last days, so i hope you guys can help me. Technologies i use: Vaadin Flow Beta 8 Spring Boot 2.0.1.RELEASE Embedded Tomcat Maven as build tool Project layout:…
Ditscheridou
  • 381
  • 1
  • 5
  • 18
1
vote
1 answer

Vaadin Push not working in 10 (flow)

In Vaadin 8, I am able to asynchronously update a Grid with incoming websocket data using the access method of UI, which locks the thread and performs the updates, then pushes them without the client having to request it. access(() ->…
Nick Friskel
  • 2,369
  • 2
  • 20
  • 33
1
vote
1 answer

Vaadin @Tag annotation

I have a question with vaadin @Tag annotation. When i use in my component like this @Tag("main-page") Edge and FF getting unexpected class names. @Tag("main-page") @HtmlImport("src/page/home.html") @Viewport("width=device-width, minimum-scale=1.0,…
batgerel.e
  • 837
  • 1
  • 10
  • 31
0
votes
1 answer

Vaadin CustomField with Tag has no Label

In my Vaadin (14.4.6) application I've got a CustomField like this one: https://vaadin.com/components/vaadin-custom-field/java-examples When I add a @Tag annotation to my CustomField implementation, the label and error elements are gone. This is how…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

Wait for Vaadin server startup

I've got a Vaadin 14 application (with Spring Boot) and want to do execute some code when the server is fully started and the frontend is compiled, up and running. Putting the code into a @Component in the method afterPropertiesSet() does not work,…
user14972917
0
votes
1 answer

Use addons in vaadin 14.4.4

I am trying to use ClockCountDown in my springboot project. Below is my code HorizontalLayout subjects = new HorizontalLayout(); CountdownClock clock1 = new CountdownClock(); Calendar c = Calendar.getInstance(); c.set(2020, 11, 21,…
Learner
  • 237
  • 4
  • 15
0
votes
1 answer

Vaadin designer does not generate the right files

I am using vaadin to develop UI for my client. When we have started the project we was using vaadin 13 thereafter we upgraded to vaadin 14.4.2. Actually, we would like to use Vaadin designer to build UI, but it is generating html file instead of js,…
ust3000
  • 196
  • 8
0
votes
2 answers

Spring Security revealing urls without logging in

In my Vaadin application, I'd like to secure some pages using spring security. Logging in and out functionalities do work all fine but what I want is that when the vaadin application starts, he should still be able to access to "registration view…
Ahmet Eroğlu
  • 594
  • 1
  • 7
  • 23
0
votes
1 answer

Vaadin submit action for custom made forms

In my vaadin application, I'm trying to create a login form. If I use default login form provided by vaadin framework. I can set the posting of the user entered data via .setAction() method to spring security. private LoginForm login = new…
Ahmet Eroğlu
  • 594
  • 1
  • 7
  • 23
0
votes
1 answer

Accessing to navbar in vaadin 14

I'm using vaadin 14 for my application. My MainView class extends Applayout class. This allows me to use addToNavBar(true, some Components) function which adds navigation bar to your application. Now, In my main view, inside the navigation bar, I…
Ahmet Eroğlu
  • 594
  • 1
  • 7
  • 23
0
votes
1 answer

Vaadin 14, Safari 13: Textfield with input event listener does not trigger ValueChangeListener

In a Vaadin 14.3.2 application I created my own number field that formats the (numerical) input. Therefore I created a class like this: @Tag("my-number-field") @JsModule("./js/my-number-field.js") public class MyNumberField extends TextField…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

Importing template vaadin lose java code reference

I have a JsModule in my vaadin project, so I want to add to my page another, I made this so:
It works but there is a problem, the template products-search is related to a java…
Francesco Scala
  • 201
  • 3
  • 15
0
votes
1 answer

How to style/theme grid's header checkbox in Vaadin flow?

I was trying to style Vaadin grids header, more specifically, I would like to change the background of the 'checkbox' to 'white'. This changes all checkboxes to white, not just the one in the header. :host [part="checkbox"] { background:…
SimonC
  • 23
  • 3
0
votes
0 answers

How to make a Vaadin Grid Columns sortable with data from CrudEntityDataProvider?

How to make a Vaadin Grid's Columns sortable with data from a CrudEntityDataProvider ? the best example for this case is Bakery App -> Users grid https://bakery-flow.demo.vaadin.com/users I try with a ListDataProvider ListDataProvider…
Java bee
  • 2,522
  • 1
  • 12
  • 25