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
How to modify plugin's source code and apply to grails in 2.3.6 #88
I'm using Grails 2.3.6 and KickstartWithBootstrap 1.1.0. After I added
compile ":kickstart-with-bootstrap:1.1.0"
in BuildConfig.groovy, I found plugin related files downloaded to C:\Users\XXX.m2\repository\org\grails\plugins\kickstart-with-bootstrap\1.1.0.
Now I want to do some modification to the originally generated files, such as create.gsp, edit.gsp and _form.gsp for every domain object. But I don't want to modify them manually one by one. Since it's a trivial work, I hope by modifying the plugin source codes a little, the expected files can be generated automatically.
I'm using Grails 2.3.6 and KickstartWithBootstrap 1.1.0. After I added compile ":kickstart-with-bootstrap:1.1.0" in BuildConfig.groovy, I found plugin related files downloaded to C:\Users\XXX.m2\repository\org\grails\plugins\kickstart-with-bootstrap\1.1.0.
Now I want to do some modification to the originally generated files, such as create.gsp, edit.gsp and _form.gsp for every domain object. But I don't want to modify them manually one by one. Since it's a trivial work, I hope by modifying the plugin source codes a little, the expected files can be generated automatically.
How can I achieve that?
Thanks. Qingxin Xu