开发者

Is there a way to do gsp partials rather than tag libraries?

One of the things I liked about freemarker is that you can quickly create new macros that encapsulate complex html to make the pages smaller and more concise. Do I have to make tag libraries to do the same thing in grails, or is there a really light-weight syntax for achieving t开发者_Go百科he same thing?


There is a <g:render> tag, which may match your needs. It's documented here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜