开发者

Grails use "render" in "Config.groovy"

Can I somehow do a

a.b.c = g.render(template:"/my/template")

in Config.groovy开发者_运维技巧

to get the rendered output of template.gsp as a String in a.b.c? The template contains content such as ${resource(dir:'images',file:'spacer.gif')}.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜