嗨,我在Grails中很新,在grails中有一个非常简单的问题,我希望有人能帮助我。 我有一个简单的域类人如下: class Person {
String name // name of the person
Date dob // date of birth
} // end of class
我已经在我的数据库几个人的条目。 在另一种形式中,我想让用户从下拉
从Register.gsp页面当我提交表单时,它呈现良好并进入列表页面。但问题是它不保存任何数据。如果我通过dbconsole添加数据,则list.gsp显示数据。可能是愚蠢的问题,但我在Grails中很初学。提前致谢。 域类: package userreg
class Customer {
String name
Date birthday
String gender
Strin