在 GWT 应用程序中使用 Vaadin 小部件
是否可以在 GWT 应用程序中使用 Vaadin 框架中的小部件?
我知道它是相反的,这也记录在 Vaadin 文档中。但我没有找到在普通 GWT 应用程序中集成 Vaadin 小部件的说明。
Is it possible to use widgets from the Vaadin-framework from within a GWT application?
I know it works the other way round, which is also documented in the Vaadin docs. But I didn't find a descrption for integrating Vaadin widgets in an ordinary GWT application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是没有,至少不是开箱即用的。 Vaadin 使用服务器端架构,这意味着所有小部件的状态都存储在服务器上,而不是存储在浏览器的内存中,因此使得小部件依赖于服务器端。小部件的客户端和服务器端之间的通信是在 Vaadin 核心深处实现的,因此我认为要让小部件在纯 GWT 环境中工作需要做大量的工作。
Unfortunately no, at least not out-of-the-box. Vaadin uses a server-side architecture, which means that all the widgets' states are stored on the server and not in the browser's memory, hence making the widgets dependent on the server-side. The communication between a widget's client-side and server-side is implemented deep in the core of Vaadin, so I think it would require quite a lot of work to get the widgets to work in a pure GWT environment.