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
0
votes
1 answer

How to destroy Vaadin 8 session on browser close or tab close?

How to destroy session on browser close/tab close in Vaadin? We can use javascript to handle this. I tried below code: Page.getCurrent().getJavaScript().execute("window.onbeforeunload = function (e) { var e = e || window.event; closeMyApplication();…
Harita Parmar
  • 75
  • 1
  • 1
  • 9
0
votes
1 answer

Vaadin Leaflet Map layers icon remove

I'm using V-Leaflet in the Java project I have: LMap leafletMap = new LMap(); LOpenStreetMapLayer baseLayer = new LOpenStreetMapLayer(); leafletMap.addBaseLayer(baseLayer, null); The map appearance and functionality is fine except…
xavierz
  • 335
  • 1
  • 11
0
votes
2 answers

Use filtered dataProvider contents when FileDownloader is called in Vaadin

I'm trying to download a csv file after applying filters to the DataProvider. For some reason the filtered results are shown in the Grid, but the downloaded csv file still contains all data. @AutoView class FinancialTransactionsView :…
Johan Vergeer
  • 5,208
  • 10
  • 48
  • 105
0
votes
1 answer

Issue in vaadin 8 Grid row index

I am migrating my project from vaadin 7 to vaadin 8. As Table is removed. so I am replacing it with grid. previously I was fetching the row ids for multiple selection like this: Set itemIds = table.getValue(); for(Object lItem :…
tushar sharma
  • 105
  • 2
  • 10
0
votes
0 answers

Grails with Vaadin 8 - 'Failed to load the widgetset"

I am a newbie in the areas in Grails and Vaadin 8, and I’m having a bit of trouble trying to add widgets to my Vaadin/Grails application. To begin, I created a grails/Vaadin app using the me.przepiora.vaadin-grails:web-vaadin8:0.3 profile. I edited…
Andy
  • 523
  • 6
  • 20
0
votes
1 answer

Vaadin 8.4.0 Modal for save confirmation after grid buffer save

We are using a grid to present some data. This grid is not using a data provider but setting its items. We are working on buffered modd, but we still want to show a modal informing what are we about to save, with the posibility to save or…
Piritz
  • 11
  • 5
0
votes
1 answer

How to mix Vaadin and Thymeleaf/Static HTML?

I've built a site in Spring Boot and Thymeleaf but the logic is getting too messy. Vaadin seems to be the right answer but how can I mix it with Thymeleaf? What I want is to embed Vaadin into the Thymeleaf template. What I want to avoid is…
antonyh
  • 2,131
  • 2
  • 21
  • 42
0
votes
3 answers

nginx 499 error vaadin 8, spring boot

Vaadin 8.4.0 @Push(transport = Transport.WEBSOCKET_XHR) Spring boot 2.0.1 We got some nginx errors since vaadin 8.4.0. We test our system on different devices and browsers, but we got no errors. In our log system we found following errors ngix…
tsogtgerel.ts
  • 955
  • 1
  • 15
  • 32
0
votes
0 answers

How to generate a notification when two elements are selected from two different combo boxes?

I have two combo boxes named Name and Project and a check box named Reject. when I select one element from Name and one from Project and when I click on reject, It should be stored in database and when I try to select same elements next time, I…
AlfaBet
  • 3
  • 2
0
votes
1 answer

Update Vaadin 8 UI from Spring EventListener

I have a Spring Boot Vaadin application with a long-running thread in the service layer (which is triggered from the UI). While the thread is running, I'd like to give updates on the progress back to the View class and display it to the user. I…
Dominic
  • 4,572
  • 3
  • 25
  • 36
0
votes
1 answer

Vaadin 8 MessageBox close on keyPress

do you know if it is possible to close Vaadin addon MessageBox with keyPress? I didn't find anything about that in documentation. Only thing I found out is that I can confirm button with 'Enter' when it is focused, but I also want to close it with…
Pavol
  • 89
  • 1
  • 6
0
votes
1 answer

Vaadin Grid 8 - Content not loading after upgrading from Vaadin 7

Recently I upgraded Vaadin version for 7 to 8.3.2. One of the changes introduced in newer version is that setContainerDataSource method is deprecated. So I changed my code to: List people = Arrays.asList( new Person("Nicolaus…
benji__
  • 47
  • 3
  • 9
0
votes
1 answer

How to give lazy loading in CSSLayout in Vaadin 8?

Is it possible to apply lazy loading to CSSLayout in Vaadin 8? As I have more componets in CSSLayout, I want to apply lazy loading to CSSLayout so that page loading time can be reduced. If lazy loading is not possible then is there any way to give…
Harita Parmar
  • 75
  • 1
  • 1
  • 9
0
votes
1 answer

Protect vaadin 8 views with pre-authorize (spring security)

I'm currently developing a Vaadin 8 app with spring boot and as I've read on many posts, the correct way of securing a view is to annotate the class with PreAuthorize. I'm doing that to protect views like…
0
votes
2 answers

Vaadin Sub-Window Does not close

The subwindow that I create does not close. I've seen some people experienced the same issue and posted the same issue but still I cannot find a solution. I have checked this, and this ,and this,and that and could not find a solution. Here' my code…
Bleach
  • 309
  • 3
  • 18