joergrech / KickstartWithBootstrap

Kickstart is an extension for Grails in order to start your project with a good looking frontend. It is intended to be used in rapid application scenarios such as a Startup Weekend or a prototyping session with a customer. This plugin provides adapted scaffolding templates for standard CRUD pages using Twitter's CSS Framework Bootstrap and offers some basic pages for a web site.
65 stars 52 forks source link

Grails version not restricted to Grails 2.3.0 #58

Closed sbglasius closed 10 years ago

sbglasius commented 10 years ago

Just removed the artificial limitation of Grails 2.3.0 so that I can demo this with Grails 2.3.3

sbglasius commented 10 years ago

I don't know if this is an issue I have introduced, or if Grails 2.3.3 is acting up, but I get this when I create a new project, run

grails kickstart

and then run

grails run-app

and browse the application:

Server running. Browse to http://localhost:8080/todo2 | Error 2013-12-03 08:42:06,278 [http-bio-8080-exec-6] ERROR [/todo2].[gsp] - Servlet.service() for servlet [gsp] in context with path [/todo2] threw exception Message: Error applying layout : kickstart Line | Method ->> 1145 | runWorker in /Users/sbg/projects/kursus/kursus_2013_11/demo/todo2/grails-app/views/layouts/kickstart.gsp


| 615 | run in '' ^ 724 | run . . . in '' Caused by GroovyPagesException: Error processing GroovyPageView: Template not found for name [/_menu/search] and path [/_menu/_search.gsp] ->> 527 | runWorker in /Users/sbg/projects/kursus/kursus_2013_11/demo/todo2/grails-app/views/layouts/kickstart.gsp


Caused by GrailsTagException: Template not found for name [/_menu/search] and path [/_menu/_search.gsp] ->> 27 | doCall in /Users/sbg/projects/kursus/kursus_2013_11/demo/todo2/grails-app/views/layouts/kickstart.gsp


mkobel commented 10 years ago

If you uncomment the line 46 in the generated file grails-app/views/_menu/_menubar.gsp, then it works. The mentioned line contains the g:render for _search.gsp, which does not exist.

joergrech commented 10 years ago

I think the problem is fixed now - search is part of the zip file and is used in a using project.