Grails +支柱瓷砖
有人有将 Tiles 集成到 Grails(而不是 SiteMesh)?
我发现了一些这样的文章: http://devdevdev.wordpress.com/2009/01/ 据我了解,至少一年前,还没有办法在 Grails 中使用 Tiles。也许上次发生了什么变化?有人尝试过这样做吗?
附注或者也许存在另一个 grails 插件,它允许我使用 复合视图设计模式?
Have someone there any experience with integrating Tiles into Grails (instead of SiteMesh)?
I found a few articles like this: http://devdevdev.wordpress.com/2009/01/ and as i understand at least one year ago there was no way to use Tiles inside Grails. Maybe something changed last time? Has anyone tried to do it?
ps. or maybe there are exists an another plugin for grails, that allows me to use Composite View design pattern?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
从未尝试过,但 django 模板非常棒,请参阅 DjangoTemplates 插件 http://www.grails.org/DjangoTemplates+Plugin< /a>
never tried but django templates are awsome see DjangoTemplates Plugin http://www.grails.org/DjangoTemplates+Plugin
这是新 grails 项目中的默认插件列表。看来 SiteMash 不是 grails 作为插件的一部分。所以很难用Tiles来替代。
默认插件列表:
This is a list of default plugins in new grails project. It seems that SiteMash is not a part of grails as a plugin. So it will be hard to replace with Tiles.
Default plugin list:
偏离 Grails 中的标准模板是非常困难的。我们尝试在 grails 1.1.1 中转向 xhtml 模板,但在最初的 1 小时内我意识到这会很困难。我不确定 grails 1.3.3 中是否有一些简单的选项/插件
It's very difficult to deviate from standard templating in Grails. We tried to deviate to xhtml templating in grails 1.1.1 but in initial 1 hour I realized it will be tough. I am not sure if there is some easy options/plugin in grails 1.3.3