是否有任何复杂的 UI 小部件可以与 Tapestry 很好地集成?

发布于 2024-12-10 13:07:40 字数 329 浏览 1 评论 0原文

我一直在寻找一个好的 Java Web 框架,并找到了 Tapestry,从应用程序架构的角度来看,它看起来相当不错。另一种可能性是 ASP 和 .NET,尽管我不愿意使用它们,因为 Java 是公司大多数开发人员都习惯的编程语言。 ASP 被考虑的原因是它具有丰富的、功能强大的 UI 小部件(例如 http://demos.devexpress.com/ASPxGridViewDemos/GridEditing/EditModes.aspx)。 Tapestry 有类似的东西吗?我特别感兴趣的是表格(排序、过滤、移动列、隐藏列等)以及可能的其他内容。或者,是否有一个复杂的 Javascript 库可以轻松集成到 Tapestry 中?

I have been looking for a good Java web framework and found Tapestry, which looks quite nice from an application architecture point of view. Another possibility is ASP and .NET, though I'm reluctant to use them since Java is the programming language most of the company's developer are used to. The reason why ASP is considered is due to its rich set of powerful UI widgets (http://demos.devexpress.com/ASPxGridViewDemos/GridEditing/EditModes.aspx for instance). Is there anything similar for Tapestry? What I am particularly interested in is tables (sorting, filtering, moving columns, hiding columns, etc.) and possibly others. Alternatively, is there a sophisticated Javascript library which can be easily integrated in Tapestry?

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

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

发布评论

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

评论(3

玩心态 2024-12-17 13:07:40

在我目前的工作中,我们使用 Tapestry 4,当我们需要时,我们选择使用 ExtJS 小部件 Tapestry 提供了更精美的 UI 组件。他们的网格小部件非常出色。 ExtJS 对于商业应用程序来说不是免费的,但是丰富的优秀小部件和文档使其非常易于使用,并且它可以很容易地集成到 Tapestry 中。

另一种选择是使用 Java Server Faces,它有几个 高质量组件/小部件库

At my current job we use Tapestry 4, and we chose to use ExtJS widgets when we need a fancier UI component what Tapestry provides. Their grid widgets are exceptional. ExtJS isn't free for commercial apps, but the abundance of great widgets and documentation makes it really easy to work with, and it integrates pretty easily into Tapestry.

Another option would be to use Java Server Faces, which has several high quality component/widget libraries.

蓝色星空 2024-12-17 13:07:40

一个庞大的 UI 组件库是一件好事。另一方面,可能不存在这样一组预定义组件能够以最终方式适合所有人或任何人。依赖预定义组件(除此之外可能需要意想不到的时间来学习)的替代方法是使用一种技术,通过该技术编写自己的组件将是一种轻松的乐趣,这与我们在几乎所有主要 Java Web 框架中看到的技术不同。该方法是在 HybridJava 中实现的,这实际上将其推向了零预定义组件的极限。然而,对于您所描述的任务来说,它可能是最强大的。

A big library of UI components is a good things. On the other hand there may be no such a set of predefined components that will suite everybody or suite anybody in an ultimate way. The alternative to relying on predefined components (which besides all may require an unexpected time to be learned) is to use a technology with which writing your own components would be an easy pleasure unlike what we see in almost every major Java Web Framework. The approach was implemented in HybridJava which in fact pushed it to the limits with zero predefined components. Yet it may be the most powerful for a task like you've describe.

咿呀咿呀哟 2024-12-17 13:07:40

Tapestry 已经提供了强大的 Grid 组件。
该组件涵盖了您正在寻找的所有功能。
查看 jumpstart 了解如何排序、移动列和隐藏列。

如果您更喜欢 jQuery 方式,也许您必须检查“Tapestry5-jquery”,它提出了一些可以使用 jQuery 插件的组件。演示站点仅显示默认网格组件,因为它的实现仍然是最好的。

Tapestry already offers a powerful Grid component.
This component covers all the features you are looking for.
Have a look at jumpstart to see how to sort,move columns, and hiding columns.

if you prefer the jQuery way perhaps you will have to check "Tapestry5-jquery" that proposes some components that make it possible to use jQuery plugins. The demo site only show the default grid component because it's implementation is still the best one.

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