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
0
votes
0 answers

Vaadin how to capture / handle refresh, reload event

I started learning Vaadin recently, up to this point i did not have much experience with web-based applications, so my question might be very basic. I want to use eventbus, when create a new layout i register it in the eventbus, it looks like…
molu2008
  • 1,237
  • 2
  • 15
  • 20
0
votes
2 answers

Vaadin @DebouceSettings example

I try to code a TexField that fire an event (a search) on every key press. But the event should have a debounce option so that it triggers only after a given time without pressing a key. I follow this documention:…
Tyvain
  • 2,640
  • 6
  • 36
  • 70
0
votes
1 answer

Vaadin 14 @Route annotated views are instantiated before the BeforeEnterListener is called?

I was under the impression that views should not be constructed before the Login event occurs. I am starting migrating from vaadin 8 straight to vaadin 14 rc4. I am not using CDI yet. Is this a bug or something is not properly configured? This…
David Hofmann
  • 5,683
  • 12
  • 50
  • 78
0
votes
1 answer

How to apply VaadinIcons as marker symbols in Charts for Vaadin Flow?

I have a Vaadin Charts Flow 6 line chart and would like to define some of the VaadinIcons as Marker Symbols. How can i achieve this? MarkerSymbol is an interface that is implemented as MarkerSymbolEnum for providing predefined markers such as eg.…
0
votes
1 answer

How to set default locale for Vaadin Flow (13/14) to German

is there something like?: public static final Locale APP_LOCALE = Locale.GERMAN; Operating system and browser locale are all in German but Vaadin UI DatePicker and Core-Buttons are still English Translation or Internationalization is not…
Java bee
  • 2,522
  • 1
  • 12
  • 25
0
votes
1 answer

Vaadin Flow download code works for Chrome but not for Firefox - How can I support both?

I have the following code to download a file from Vaadin Flow (12.0.7). exportBtn.addClickListener(e -> { toDownload = FileUtil.getLatestExport(); (toDownload != null) { StreamResource resource = new…
LOLWTFasdasd asdad
  • 2,625
  • 5
  • 26
  • 39
0
votes
1 answer

How does the login authentication work in Vaadin Bakery App

I am trying to learn vaadin JAVA framework. I am looking at the code of Bakery App. In LoginView.java there is call to setAction('login') that takes care of the successfull authentication. I want to know where in the code this is taking place. I…
Sudipta Roy
  • 740
  • 1
  • 9
  • 29
0
votes
0 answers

Download selected row in txt using Vaadin Grid

Good day all, I would like to know if someone can help me establish the following: I have a grid with a form. Every time I save the form, it creates a new row with the values from the form. What I want now, is a download button on every row, to…
0
votes
1 answer

Vaadin flow: grid conditional background color

I want to color grid lines, depending on a condition. I try this: Java: gridEtudiant.setClassNameGenerator(t -> { if (t.getEtud_numero().startsWith("2")) { return "error_row"; } return ""; }); Css: td.error_row { …
Tyvain
  • 2,640
  • 6
  • 36
  • 70
0
votes
1 answer

StreamResourceWriter error handling via ErrorHandler interface

I have a FileCreator class that implements StreamResourceWriter interface and MainErrorHandler class that implements ErrorHandler. I'm using the MainErrorHandler class as a centralized Exception handler in my project which mostly logs the exception…
Julius Koljonen
  • 223
  • 3
  • 9
0
votes
0 answers

Vaadin 12 , Tomcat : Can't find bundle for base name

In my Vaadin 12 project the resource bundle files (*.properties) are in folder \src\main\resources\ In this folder I has files: labels_es.properties, labels_en.properties In my MyForm.kt val labels = ResourceBundle.getBundle("labels",…
Alexei
  • 14,350
  • 37
  • 121
  • 240
0
votes
1 answer

Show Spreadsheet component in Vaadin

I'm using Vaadin 10 and I want to show a spreadsheet to the user. However, the method below is giving me an error: public class SomeUI extends VerticalLayout{ private SomeUI(){ // ... some add(Components) String path =…
q293439
  • 3
  • 1
0
votes
1 answer

How can I use Vaadin with SparkJava

I have implemented an API that is REST based using SparkJava (http://sparkjava.com). Its a standalone app and works great. Now I'd like to implement part of that functionality access through a Vaadin UI. I'm quite new to Vaadin as well. Does anyone…
SydMK
  • 425
  • 4
  • 12
0
votes
1 answer

does vaadin 12 charts support zooming from java and declarative html?

I found https://api.highcharts.com/highcharts/chart.zoomType which implies that zooming is possible, but I couldn't figure out either the java code to enable zooming or the html code (in the declarative template html files) to enable zooming. Is…
Jonathan Sylvester
  • 1,275
  • 10
  • 23
0
votes
2 answers

ComboBox with hidden keys

Is it possible in vaadin 12 to have comboboxes such that it displays a user-friendly value but behind the scenes it stores a hidden code? I found this example from 5 years ago but it doesn't apply to Vaadin 12 comboboxes:…
Jonathan Sylvester
  • 1,275
  • 10
  • 23