render Grails tag in controller
controller, grails, gsp
Solution
Use the tag as method call syntax instead:
render g.select(name:"tipo" from:['','one','two'])
Problem
I've to render a select when calling a controller function. ``` class FormController { def document() { render """<g:select name="tipo" from="${['','one','two']}" />""" } } ``` it doesn't work.. In the html appear nothing when I replace a div with this function.