Questions tagged [vaadin4spring]

This add-on adds support for Vaadin to Spring and Spring Boot, or Spring support to Vaadin, depending on your point of view.

This add-on adds support for Vaadin to Spring and Spring Boot, or Spring support to Vaadin, depending on your point of view.

https://github.com/peholmst/vaadin4spring

79 questions
0
votes
1 answer

Error using Gradle Vaadin Plugin

I am trying to add Gradle Vaadin Plugin to my project, but I get the below error. Errors in…
turgos
  • 1,464
  • 1
  • 17
  • 28
0
votes
1 answer

Vaadin custom css

I have problem with custom CSS with Vaadin. Everything is ok if I declare in my MainUI.java file the following: @Theme("valo") @SpringUI public class MainUI extends UI { ... If I add my new theme, it doesn't get picked up. In my project folder in…
Anna K
  • 1,666
  • 4
  • 23
  • 47
0
votes
2 answers

BeanCreationException Using Vaadin and CRUD findAll() Service to Fill ComboBox

I am using Vaadin8 with SpringBoot using vaadin-spring-boot-starter 2.0.0 to fill a ComboBox. I tried the same with NativeSelect, still got the same error message by the way, when I use the setItem() method of the ComboBox. Repo: public interface…
Marcellinus
  • 134
  • 2
  • 15
0
votes
0 answers

Is there a simple way to close a popup confirm button connected to Vaadin FileDownloader

I am trying to download a file from server using Vaadin 8.05 while cliking on a button in a popup window and it works. The problem is that I can not find a way to close the popup after clicking. If I am trying to close the window then download will…
Govan
  • 2,079
  • 4
  • 31
  • 53
0
votes
2 answers

How to determine if a component in UI has been Updated in Vaadin 8

In an application based on Vaadin 8 I want to implement a Command that remove the value of all fields. I have done this Using Binder. When user is activating the command a new Bean will be created. @Override public void…
Govan
  • 2,079
  • 4
  • 31
  • 53
0
votes
1 answer

Vaadin - run client side javascript after image fully loaded

I need to print a picture on client side. I used this as a template. My PrintUI looks like this: @Override protected void init(VaadinRequest request) { Item item = ..get item .. StreamResource imageStream = ... build image dynamically ... …
DanielW
  • 109
  • 9
0
votes
2 answers

How eventBus works in MVP and Spring boot?

can someone explain me how the eventbus works, I saw all doc about that but I didn't understand I will give you what I want to do; So I have AccountPresenter and AccountView so in my view I have Button to open window in which I create my account,…
Aladdin
  • 3
  • 3
0
votes
1 answer

Error when Add VaadinSecurity : This can also happen if you are @ComponentScanning a springframework package

I have this error when i try to Autowiring VaadinSharedSecurity to manage my login and logout and authorization from this dependency: org.vaadin.spring.extensions
0
votes
1 answer

Vaadin Application PushHandler can't find UI based on request using nginx, spring security

When activating Push, whenever i leave tabs with my application open for longer than a minute, i get the following INFO level log message: 16:57:17 INFO PushHandler - No UI was found based on data in the request, but a slower lookup based on the…
Johannes Dorn
  • 1,307
  • 1
  • 16
  • 34
0
votes
1 answer

Using composite key with JPA

Learning on the go with Spring and all it's tools. Not sure how to use the PK instead of the String. tickets = repository.findOne(tk.getSerial()); Wants Primary key but unable to find the correct way? Main UI: package com.boot; import…
Switcher
  • 112
  • 12
0
votes
1 answer

How to use Vaadin add-on with Spring Boot?

I'm using Vaadin 7.6.3 with Spring Boot. I'm trying to use the PopupButton add-on (but I don't think the issue is specific to the add-on). I added the add-on as a dependency to gradle. This is the code for creating a PopupButton: PopupButton btn =…
Erik Hofer
  • 2,296
  • 2
  • 18
  • 39
0
votes
1 answer

How to make sheetname tab in vaadin spreadsheet readonly

In vaadin-spreadsheet tab which displays name of the sheet is editable. I want to make it readonly. Refer the pic . Any suggestions? I have tried Spreadsheet.lockActiveSheet() API but not working
Dattatreya Kugve
  • 320
  • 1
  • 4
  • 21
0
votes
1 answer

Ensure Vaadin load latest data in when clicking added components (such as TabSheet or Tree ...)

When I add components to Vaadin's component (such as TabSheet or Tree) , the added components are cached. When user clicks the tab (or tree nodes) , if it contains db data , it shows stale data , not reflecting the latest db state. I wonder if…
smallufo
  • 11,516
  • 20
  • 73
  • 111
0
votes
1 answer

Vaadin Spring no boot : Dependency Injection issue

I'm using Vaadin 7, Spring Data JPA 1.9.4.RELEASE, and Vaadin-Spring 1.0.0 and I have some DI problemes. I choose not to use Spring Boot because it will automatically do too many things that I cannot "see" and I have encountered some problemes that…
mingzhao.pro
  • 709
  • 1
  • 6
  • 20
0
votes
0 answers

Vaadin 7 & Spring Boot : SqlContainer doesnot work with Filter

Spring Boot: 1.3.2.RELEASE Vaadin : 7.6.3 Mysql: mysql-java-connector-5.1.38 HikariCP: 2.4.3 So I create a Table with only id and name columns. Then a vaadin componant Table to show the content of table. Until now everything is fine. Then I tried to…
mingzhao.pro
  • 709
  • 1
  • 6
  • 20