Quantcast

Problems with "Settings plugin": is it mantained?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Problems with "Settings plugin": is it mantained?

davide.cavestro
I have some problems using the Settings plugin on Grails 2.0.4 but I've found no way to contact the mantainer or file a bug. Where's the right place to ask for support? Is that plugin dead? (that would be a pity, cause it were very useful having a generic way to save/retrieve some dynamic settings)

More specifically, I always get the following error message every time I try to load the page to create new setting

org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Template not found for name [dialog] and path [/setting/_dialog.gsp]

I guess it could be related to http://grails.1312388.n4.nabble.com/include-template-from-plugin-not-working-on-grails-2-0-td4554372.html
Any idea?

Cheers
Davide
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problems with "Settings plugin": is it mantained?

davide.cavestro
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.
Loading...