Thursday, August 20, 2009

Grails - Date without hours and minutes fields

Replace

class Person{
String Name
Date Birthday
}

with

class Person{
String Name
java.sql.Date Birthday
}

specifying the property as java.sql.Date will render date control without hours and minutes fields.

No comments:

Post a Comment

Thank you for your feedback