vaadin-push

How to update Vaadin Grid after push?

痞子三分冷 提交于 2019-12-14 03:04:37
问题 I'm trying to update a grid in Vaadin after a change has been made to the grid from a different UI instance. To elaborate, I have two different UI instances, UI1 and UI2 (tabs from two different browsers). These UI instances contain a view which contains a grid consisted of Contact objects that have various properties such as name, age, gender... I add a Contact to the grid from UI1 and I want UI2 to see the updated grid instantly without having to refresh. To accomplish that, I know I have

Vaadin + Spring Boot errors: “Cannot enhance @Configuration” and “More than one Servlet Mapping defined”

只愿长相守 提交于 2019-12-07 01:52:38
问题 I'm new to Spring and Vaadin. I'm trying to go through tutorial for views navigation. I'd like to enable @Push in future to update views periodically with data fetched from DB. The project is very, very simple. I use no configuration class nor any XML - only Java annotations. Could anyone help me to fix the example code? Because I'm getting following warnings and I'm not sure what can be done with it and what will be the result of ignoring them. First one is: onClassPostProcessor : Cannot

Vaadin + Spring Boot errors: “Cannot enhance @Configuration” and “More than one Servlet Mapping defined”

删除回忆录丶 提交于 2019-12-05 09:15:59
I'm new to Spring and Vaadin. I'm trying to go through tutorial for views navigation. I'd like to enable @Push in future to update views periodically with data fetched from DB. The project is very, very simple. I use no configuration class nor any XML - only Java annotations. Could anyone help me to fix the example code? Because I'm getting following warnings and I'm not sure what can be done with it and what will be the result of ignoring them. First one is: onClassPostProcessor : Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton