Tapestry 模板来自数据库或在运行时修改
是否可以从数据库或其他来源加载 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 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.