推送失败时如何创建 Vaadin 处理程序?
how to create Vaadin handler for when the push has failed?
我使用 Vaadin now. It is support push-server 技术。
我需要在推送不成功(与服务器的连接丢失)时创建一个处理程序。我找到了 Ajax 技术 here 的方法,但是对于推送我找不到任何东西。
这是Vaadin一位专家的回答:
That is a relatively advanced matter.
Vaadin is a server-side framework, merely a big server-side extension
to client-side GWT framework. Therefore the following is not possible
to do in Vaadin, but only in GWT whose minimum knowledge is then
required.
The official Vaadin TouchKit addon (Vaadin GUI for mobile)
already includes such an offline functionality, though it does
not use cookies as storage (source code on GitHub).
安东·尼科宁科夫
我使用 Vaadin now. It is support push-server 技术。
我需要在推送不成功(与服务器的连接丢失)时创建一个处理程序。我找到了 Ajax 技术 here 的方法,但是对于推送我找不到任何东西。
这是Vaadin一位专家的回答:
That is a relatively advanced matter.
Vaadin is a server-side framework, merely a big server-side extension to client-side GWT framework. Therefore the following is not possible to do in Vaadin, but only in GWT whose minimum knowledge is then required.
The official Vaadin TouchKit addon (Vaadin GUI for mobile) already includes such an offline functionality, though it does not use cookies as storage (source code on GitHub).
安东·尼科宁科夫