Given this:
render(template: 'someTemplate', model: [codec: 'none'])
It seems that I cannot use the codec
variable in the page
directive. Tried these:
<%@page defaultCodec="codec" %>
<%@page defaultCodec="${codec}" %>
<%@page defaultCodec=codec %>
Is there a way to pass the coded in the model?