|
org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Unable to load template for uri [/estado/__selectEstados.gsp]. Template not found. at test.EstadoController$_closure1.doCall(EstadoController.groovy:18)
at test.EstadoController$_closure1.doCall(EstadoController.groovy) at java.lang.Thread.run(Thread.java:722)
this was the example i tried to run from this They asked to put it in persona view. But, it says the above error.. Otherwise program run's perfectly. Please let me know! -- Cheers, Saravana |
|
Did you read the error? Does the template in question exist and is it in the correct place?
Thanks...
-Eric
On Thu, Jul 5, 2012, at 08:41 PM, Saravanan S wrote:
|
|
Hi ,
Thanks for the reply. Yes, the template exist. But i am note sure, where it is supposed to be. I could not identify from error. By default they said it should be within the persona class.
On Thu, Jul 5, 2012 at 10:39 PM, Eric Rodriguez <[hidden email]> wrote:
Cheers, Saravana |
|
In reply to this post by saravanataee
On 05/07/2012 16:11, Saravanan S wrote:
> org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: > Unable to load template for uri [/estado/__selectEstados.gsp]. Template > not found. There are two underscores in that message. Have you said something like render template:'_selectEstados' Grails adds the leading underscore by convention, so for a template called _selectEstados.gsp the render call needs to say template:'selectEstados'. Ian -- Ian Roberts | Department of Computer Science [hidden email] | University of Sheffield, UK --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
