Vaadin 7 don't refresh UI after execution background thread (only if it takes more than 5 minutes)

后端 未结 2 436
自闭症患者
自闭症患者 2021-01-22 05:08

I\'m using Vaadin 7. In my application there\'s a table list and user could choice one or more items to elaborate. If execute button is clicked, UI component are disabled and tw

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-22 05:39

    See https://vaadin.com/forum#!/thread/231272

    In short - in Vaadin 6.0 and 7.0, you cannot "push" a change from the server to the browser from a non-request thread. (There are plugins for v6, but not for v7.0)

    In Vaadin 7.1 (not yet released) this is possible. See https://vaadin.com/wiki/-/wiki/Main/Enabling+server+push for more details.

提交回复
热议问题