views:

49

answers:

2

I am trying to design my own custom set of tags using grails and i am having problems converting my date text into a Date object using the grails taglib. I have only succeeded in rendering already existing dates into a chosen format, but when i try to change the date and save it again, i run into problems

A: 

Look at the parse method within Groovy Dates.

proflux
+1  A: 

This question has already been answered several times. Search for "grails bind date" and you'll find several answers, such as this one.

Don
Thanks a lot for your answer. It helps a whole lot. I should look into these PropertyEditorRegistrar uses, seems very interesting. Apparently i haven't studied enough grails yet. Thanks a lot
Emotu Balogun