在 GWT 应用程序中使用 Vaadin 小部件

发布于 2024-08-18 06:31:24 字数 111 浏览 1 评论 0原文

是否可以在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

随波逐流 2024-08-25 06:31:24

不幸的是没有,至少不是开箱即用的。 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文