Grails date binding
data-binding, date, grails
Solution
With Grails 1.1.1, you can implement a PropertyEditorRegistrar and use that to specify a format. See http://grails.1312388.n4.nabble.com/Grails-1-1-1-change-in-binding-date-properties-td1323105.html
Problem
In Grails, one can 'bindData' in controller: ``` Book b = new Book() bindData(b, params) ``` What if I have a date field with specific format (e.g. yyyy-MM-dd) from user input? In Spring, we can use registerCustomEditor(). How about Grails?