标签: grails configuration rendering
我可以以某种方式做一个
a.b.c = g.render(template:"/my/template")
Config.groovy
将template.gsp的渲染输出作为a.b.c中的字符串? 该模板包含${resource(dir:'images',file:'spacer.gif')}。
template.gsp
a.b.c
${resource(dir:'images',file:'spacer.gif')}