开发者_StackOverflow社区Hello I have the follwing domain classes. class Student { int age static hasMany = [courses:Course]
Rendering the params and gets all the data I submit [\"address.address1\":\"reston1\", \"address\":[\"address1\":\"reston1\", \"county\":\"fairfax\", \"zipcode\":\"20190\", \"address2\":\"reston2\",
I have difficulty in making unit testing on the method contained in the domain like this: This is the domain class
I am learning Grails, I am trying to build a small application. And for now I am working on the registration part.
How can I test the initBefore method of Groovy Dom开发者_运维百科ain-Classes with a unit test in Grails?
Bottomline, I\'m using Grails 1.3.7 and using JPA annotated classes from a JAR file, But the constraints are not working, meaning they are ignored even if I explicitly code them, like usual in the d
I am very new to grails and perhaps it would be the most simplest of questions that I am asking. I am creating a very simple application for self-learning where I created a login page. On successful l
I have an internal requirement with nested domain classes where I want updates to a parent relationship to be propagated to children. A code example may make it clear:
UPDATED: made some wrong assumptions about classes etc. The following occurs now when I have a \'demo\' project:
I notice that any reference to a property is missing when requiring domain classes in grails unit tests.