Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Commit

Permalink
Corrected datepicker problem with Java representation with month.
Browse files Browse the repository at this point in the history
Corrected missing ID in links to edit-actions.
  • Loading branch information
joergrech committed Oct 17, 2012
1 parent 2484408 commit 60cacde
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
@@ -1,6 +1,6 @@
class KickstartWithBootstrapGrailsPlugin {
// the plugin version
def version = "0.7.0"
def version = "0.7.1"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "2.0.0 > *"
// the other plugins this plugin depends on
Expand Down
4 changes: 3 additions & 1 deletion kickstartWithBootstrap/README.mediawiki
Expand Up @@ -12,7 +12,7 @@ This plugin provides the following feature:
Currently, Kickstart is intended to act more like an injection than an plugin - importent files are copied into your project and you can remove the plugin afterwards.

== Usage ==
After installation you can call the script "grails kickstart" which will copy several files into your project.
After installation you can call the script '''"grails kickstart"''' which will copy several files into your project.
It will overwrite only few files (e.g., in conf, src, and views) - '''you should use it only on fresh new Grails projects'''.

Afterwards create your domain classes (or copy them into the project) and generate contollers and views - they will
Expand All @@ -37,6 +37,8 @@ now use the Bootstrap framework!
== Changelog ==

;0.7.1
: Corrected datepicker problem with Java representation with month. Corrected missing ID in links to edit-actions.
;0.7.0
: Updated to Bootstrap 2.1.1 and Grails 2.1. Included FamFamFam icons for flags in language selector. Reorganized file structure for views.
;0.6.1
Expand Down
10 changes: 5 additions & 5 deletions kickstartWithBootstrap/application.properties
@@ -1,5 +1,5 @@
#Grails Metadata file
#Sun Oct 14 22:30:19 CEST 2012
#Mon Oct 15 00:22:58 CEST 2012
app.grails.version=2.1.1
app.name=kickstartWithBootstrapGrailsPlugin
app.stats.Controllers.files=1
Expand All @@ -12,11 +12,11 @@ app.stats.Tag_Libraries.files=1
app.stats.Tag_Libraries.loc=197
app.stats.Totals.files=8
app.stats.Totals.loc=327
app.version=0.7.0
app.version.build=73
app.version.build.date=Okt 14, 2012
app.version=0.7.1
app.version.build=74
app.version.build.date=Okt 15, 2012
app.version.build.env=development
app.version.revision=04cc766
app.version.revision=11a15c7
plugins.hibernate=2.1.1
plugins.release=2.0.3
plugins.resources=1.1.6
Expand Down
Expand Up @@ -206,7 +206,7 @@ class BootstrapTagLib {

if (c != null) {
day = c.get(GregorianCalendar.DAY_OF_MONTH)
month = c.get(GregorianCalendar.MONTH)
month = c.get(GregorianCalendar.MONTH) +1 //add one as Java stores month from 0..11
year = c.get(GregorianCalendar.YEAR)
hour = c.get(GregorianCalendar.HOUR_OF_DAY)
minute = c.get(GregorianCalendar.MINUTE)
Expand Down
6 changes: 3 additions & 3 deletions kickstartWithBootstrap/plugin.xml
Expand Up @@ -6,14 +6,14 @@
<documentation>http://grails.org/plugin/kickstart-with-bootstrap</documentation>
<type>KickstartWithBootstrapGrailsPlugin</type>
<resources>
<resource>kickstart.KickstartFilters</resource>
<resource>spring.resources</resource>
<resource>HomeController</resource>
<resource>kickstart.BootstrapTagLib</resource>
</resources>
<repositories>
<repository name='grailsCentral' url='http://plugins.grails.org' />
<repository name='http://repo.grails.org/grails/plugins' url='http://repo.grails.org/grails/plugins/' />
<repository name='grailsCentral' url='http://grails.org/plugins' />
<repository name='http://repo.grails.org/grails/core' url='http://repo.grails.org/grails/core/' />
<repository name='grailsCore' url='http://svn.codehaus.org/grails/trunk/grails-plugins' />
<repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
</repositories>
<dependencies />
Expand Down
Expand Up @@ -12,7 +12,7 @@ class @artifact.name@ {
// Date dateCreated
// Date lastUpdated

// static belongsTo = [] // tells GORM to delete this object if the "parent" is deleted.
// static belongsTo = [] // tells GORM to cascade commands: e.g., delete this object if the "parent" is deleted.
// static hasOne = [] // tells GORM to associate another domain object as an owner in a 1-1 mapping
// static hasMany = [] // tells GORM to associate other domain objects for a 1-n or n-m mapping
// static mappedBy = [] // specifies which property should be used in a mapping
Expand Down

0 comments on commit 60cacde

Please sign in to comment.