JCR JSP 标记库实现

发布于 2024-11-16 23:58:09 字数 96 浏览 2 评论 0原文

我正在寻找 jcr 的 jsp taglib 实现。我需要一些东西来以 xpath 样式访问 jcr 节点和节点的属性。

有人可以给我推荐一些东西吗? 提前致谢。

I'm looking for jsp taglib implementation for jcr. I need something for access to jcr Node's and Node's properties in xpath style.

Could anybody recommend me something.
Thanks in advance.

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

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

发布评论

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

评论(2

电影里的梦 2024-11-23 23:58:09

是的,Apache Sling、Hippo 的 HST 和 Magnolia 可能会朝着您的方向迈出一步。据我所知,JCR 存储库没有单一的 jsp taglib 库,但如果您有时间的话,创建它应该不难。
所有三个项目都允许您使用不同的视图层,包括 JSP、Freemarker 等。我对 Magnolia 不太熟悉,但 Hippo 的视图层是 MVC,纯粹基于 Java/Spring,并使用 JSP 进行默认渲染。他们还有一个相当不错的入门教程

Yes Apache Sling, Hippo's HST and Magnolia could be a step in your direction. AFAIK there is no single jsp taglib library for JCR repositories, but it should not be that hard to create though if you have some time.
All three projects allow you to use different view layers that include JSP, Freemarker and others. I'm not all that familiar with Magnolia, but Hippo's view layer is MVC, pure Java/Spring based and uses JSP's for the default rendering. They also have a quite decent getting started tutorial.

回首观望 2024-11-23 23:58:09

我一直在寻找类似的东西,我认为 Apache Sling 确实是最好的得到。 JCR 存储库的视图层库确实不多,尤其是 jsp taglib。

也许春季冲浪可以帮助你。

如果我是你,我会查看一些 CMS 的源代码并查看它们的视图层,例如 Magnolia 或 Hippo,它们有一个非常好的 Spring MVC 视图层实现,称为 HIPPO SITE TOOLKIT。

我个人永远不会自己为我的存储库创建视图层。这取决于那是什么类型的存储库。例如,实现文档存储的 UI 是相当困难的,没有大量的 Javacsript 它不会有多大用处。在这种情况下,我会根据我使用的 JCR 实现来决定使用一些现有的 CMS。 Magnolia 支持 Jackrabbit 和 Modeshape。 Hippo CMS 仅限 Jackrabbit

I was looking for something like this and I think that Apache Sling is really the best you can get. There's really not much of view layer libraries for JCR repositories, jsp taglib especially.

Maybe Spring Surf could possibly help you.

If I were you, I'd check out the source code of some CMS and look at their view layer, like Magnolia or Hippo, which has a very nice Spring MVC view layer implementation called HIPPO SITE TOOLKIT.

I would personally never do a view layer for my repository by myself. It depends what kind of repository is that. For instance it is quite hard to implement UI for document store, without tons of Javacsript it won't be much useful. It that case I would decided on some existing CMS, based on what JCR implementation I use. Magnolia supports both Jackrabbit and Modeshape. Hippo CMS only Jackrabbit

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