Questions tagged [vaadin8]

Vaadin 8 is the last primarily GWT-based version of Vaadin, an open-source Java web application framework. EOL Feb 2022, extended maintenance commercially available until Feb 2032.

Vaadin 8 is the last primarily GWT-based version of Vaadin, an open-source Java web application framework. Free support for Vaadin 8 ends in February 2022, extended maintenance commercially available until February 2032.

667 questions
3
votes
1 answer

Get user’s current default time zone within a Vaadin 8 app

Is there a way to determine the user’s web browser’s current default time zone from within a Vaadin 8.1 app? Preferably get a ZoneId object rather than the legacy class TimeZone. The WebBrowser class offers getter methods for getCurrentDate(),…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
3
votes
1 answer

Run Vaadin 8.1 app under Java 9 prerelease in IntelliJ 2017.2.2

In IntelliJ 2017.2.2 I am able to run a Vaadin 8.1.2 app (brand-new vaadin-archetype-application archetype) with Tomcat 8.5.20 under Java 9+181 if the Project Structure > Project SDK is set to Java 1.8. If Project Structure > Project SDK is set to…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
3
votes
2 answers

How to get Vaadin 8 grid column type?

I am using Vaadin 8 for Tabular data representation with dynamic bean. so i have to define logical filter on column. For that i need column datatype from grid or column object. Is there any way to get data types of column? In Vaadin 7 i can get…
Uttam Kasundara
  • 237
  • 3
  • 13
3
votes
1 answer

Can i create grid without bean class in Vaadin 8?

I am working on product development using Vaadin. Till date we are using Vaadin 7. We need to display data on tabular form as well as chart in based on rule. Also user can modify the rule any time from configuration option. so can not define bean…
3
votes
0 answers

Preventing Clickjacking attack by Vaadin

I want to prevent clickjacking attack in Vaadin 7 and 8 apps. As Vaadin applications are by default designed to be embeddable, some configuration or code is needed to add safety. Here's my first experiment, which adds X-Frame-Options header to each…
Jukka Nikki
  • 366
  • 3
  • 7
3
votes
1 answer

Vaadin Grid refresh issue

I'm using Vaadin Framework 8.0.6 I have the following workflow : Display grid with DataProvider and function DataProvider.fromCallbacks for lazy loading Update one item of this grid via a form displayed in a window Save the updated item, close…
Manu
  • 493
  • 6
  • 17
3
votes
1 answer

How to set focus and open the grid cell editor of a newly inserted row in vaadin 8 grid?

Is it possible to focus and open the grid cell editor directly after inserting a new row? I have searched a while but I didn't find anything helpful. I am inserting rows with grid.setItems(theListWithItems); After the insertion the editor is…
F4k3d
  • 653
  • 1
  • 10
  • 29
3
votes
1 answer

Vaadin 8 combobox implements before(!) dropdown event?

Is it possible in Vaadin 8 combobox handle before(!) dropdown event? Actually, I need to implement DataProvider that would re-read data each time when a user tries to select data from the combobox (adding new items are not allowed).…
FoxyBOA
  • 5,788
  • 8
  • 48
  • 82
3
votes
1 answer

How to right align a Vaadin 8 Grid column contents?

Looks like this question was answered for Vaadin 7, but solution does not work for Vaadin 8. Right-align column contents in Vaadin Grid? Grid setCellStyleGenerator method is not available anymore. How can we align a column contents for Vaadin 8…
turgos
  • 1,464
  • 1
  • 17
  • 28
3
votes
2 answers

Auto-update display of a related calculated property in a binder in Vaadin 8

When using a Binder in Vaadin 8 with a bean having a read-only calculated property whose value derives from another property, how can I get a TextField to automatically update the display of the derived calculation result when the driving property…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
2
votes
1 answer

How to make text in vaadin Grid cell to wrap

I need to make Vaadin 8 Grid cell text wrap. I tried to follow this link in Vaadin Forum. https://vaadin.com/forum/thread/16908210/vaadin-8-grid-wrap-long-lines My Grid contains Strings only in every cell. I have a StyleGenerator class like…
Tony
  • 67
  • 5
2
votes
1 answer

How to make a button click to send two different requests to server in specific order

I want to add two different logics to a button click. The button click should send two requests to the server, so that when the first requests finishes, the second starts. The first request should disable some other buttons on the page, while the…
Michael Kročka
  • 617
  • 7
  • 22
2
votes
2 answers

Vaadin Component Alignent

I have 3 text fields in vertical layout and I want to place a button at the right of the 3rd text field in HorizontalLayout, but what happens is the button is placed in alignment with a caption of the text field. How I solved this issue in Vaadin 8?
2
votes
1 answer

How to change background colour of vaadin 8 combobox's dropdown items?

I am working with vaadin 8, and I have a com.vaadin.ui.ComboBox called "contacts" which is filled with a number of string-items. Whenever I click into the combobox, the items are displayed as a dropdown after I hit the space bar. The background…
Andferdd
  • 91
  • 3
2
votes
1 answer

How to fill table/grid manually

I am using Vaadin 8 and I want to make some sort of confusion matrix. I was wondering if I can fill the values of the table/grid manually according to the cell position, instead of data provider. referenceTable.addColumn(reference ->…
user1631306
  • 4,350
  • 8
  • 39
  • 74