clerecudzio
2012-04-13 10:38:10 UTC
I have a plugin that creates a taglib and the taglib renders a gsp which i
stored in plugin's view.
I stored it in views/someTemplates/_mytemplates.gsp
My taglib does this to renders the template
out << render(
template:'/someTemplates/mytemplates', plugins:'myplugin',
model:[someModel])
runs well on run-app, but on run-war, is getting error :
Caused by:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error
processing GroovyPageView: Template not found for name
[langSelectorTemplates/selector] and path [/someTemplates/_mytemplates.gsp]
... 3 more
Caused by:
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException:
Template not found for name [/someTemplates/mytemplates] and path
[/someTemplates/_mytemplates.gsp]
at
gsp_cygnusTemplateEngine_layoutsformsContainer_gsp$_run_closure2.doCall(formsContainer.gsp:56)
at
gsp_cygnusTemplateEngine_layoutsformsContainer_gsp.run(formsContainer.gsp:89)
... 3 more
am i doing something wrong ?
Or is this a bug on grails 2.0.1 ?
--
View this message in context: http://grails.1312388.n4.nabble.com/include-template-from-plugin-not-working-on-grails-2-0-tp4554372p4554372.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
stored in plugin's view.
I stored it in views/someTemplates/_mytemplates.gsp
My taglib does this to renders the template
out << render(
template:'/someTemplates/mytemplates', plugins:'myplugin',
model:[someModel])
runs well on run-app, but on run-war, is getting error :
Caused by:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error
processing GroovyPageView: Template not found for name
[langSelectorTemplates/selector] and path [/someTemplates/_mytemplates.gsp]
... 3 more
Caused by:
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException:
Template not found for name [/someTemplates/mytemplates] and path
[/someTemplates/_mytemplates.gsp]
at
gsp_cygnusTemplateEngine_layoutsformsContainer_gsp$_run_closure2.doCall(formsContainer.gsp:56)
at
gsp_cygnusTemplateEngine_layoutsformsContainer_gsp.run(formsContainer.gsp:89)
... 3 more
am i doing something wrong ?
Or is this a bug on grails 2.0.1 ?
--
View this message in context: http://grails.1312388.n4.nabble.com/include-template-from-plugin-not-working-on-grails-2-0-tp4554372p4554372.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email