Question

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 the same thing?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top