About the GrailsTagException: I've found the problem resides in the usage of the
pluginContextPath variable to specify the contextPath for g:render tag. Its value is
/plugins/settings-1.4 and it doesn't work (could it be due to URLMappings customization?)
So here you are a survey of cases I've tested:
ERROR:
<g:render template="dialog" model="[setting: setting]" contextPath="${pluginContextPath}" />OK:
<g:render template="dialog" model="[setting: setting]" contextPath="/setting" />
OK:
<g:render template="dialog" model="[setting: setting]" plugin="settings" />
Just wondering if
pluginContextPath value (or its usage for rendering templates) changed with grails 2, cause the same code worked using grails 1.3.7.
Still, if I had a way to contact the
Settings plugin mantainer I'd be happy to inform it... in the meantime I'll manage to patch it locally.