Tapestry 模板来自数据库或在运行时修改

发布于 2024-12-04 04:17:44 字数 66 浏览 4 评论 0原文

是否可以从数据库或其他来源加载 Tapestry 模板? 我需要在朗姆时间修改模板。对于这样的事情,最好的策略是什么?

Is it possible to load Tapestry templates from a database or an alternative source?
I have a requirement to modify the templates at rumtime. What is the best strategy for something like this?

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

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

发布评论

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

评论(1

千鲤 2024-12-11 04:17:44

在 5.3 中,有一个动态模板组件从 Tapx 组件库移至核心 Tapestry。它似乎允许您使用外部资源代替组件,并支持类似于 tml 文件的扩展。 这里有一个简短的描述。 文档还没有更新,但是可以直接看源码这里

There is a dynamic templating component that is moving from the tapx component library to core Tapestry in 5.3. It appears to let you use external resources in place of components with some support for expansion similar to tml files. Here is a brief description of it. The docs haven't been updated yet, but you can see the source directly here.

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