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')}.
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')}.
精彩评论