是否可以在同一项目中使用 Ext GWT 和 Smart GWT 组件?

发布于 2024-08-07 00:23:08 字数 107 浏览 5 评论 0原文

我想在我的一个项目中使用 ext-gwt,但 ext-gwt 的某些组件对我来说还不够。 Smart-Gwt 有更多组件,我想在这个项目中也使用 smart-gwt 组件。

是否可以?

I want to use ext-gwt in one of my projects but some components of ext-gwt is not enough for me. Smart-Gwt has much more components and I want to use also smart-gwt components in this project.

Is it possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

甲如呢乙后呢 2024-08-14 00:23:08

从理论上讲,我不明白为什么它不可能。然而,这些组件使用不同的布局,所以我认为您很快就会陷入混乱(甚至尝试将常规 GWT 小部件与 Ext GWT 一起使用...)。如果为您的应用程序加载两个小部件库,您还会遭受很大的损失。

SmartGWT 与 Ext GWT 具有大部分相同的组件,因此如果 SmartGWT 中有您需要的东西而 Ext GWT 没有,我建议您考虑完全切换到 SmartGWT。我想这比让组件一起工作要麻烦得多。我之前已经在 GWT 小部件库之间迁移了一个项目(从 Ext GWT 到 GWT Ext),这并不是那么痛苦。

In theory I don't see why it shouldn't be possible. However, the components uses different layouts so I think you'll quickly run into a mess (just even try to use regular GWT widgets with Ext GWT...). And you'll also incur a big penalty by loading two widget libraries for your application.

SmartGWT has most of the same components as Ext GWT so if there's something in SmartGWT that you need and Ext GWT doesn't have, I suggest you consider switching over to SmartGWT completely. I'd imagine that would be a lot less of a hassle than making the components work together. I've migrated a project between GWT widget libraries (from Ext GWT to GWT Ext) earlier, and it wasn't really that painful.

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