Affects Version/s: 2.0-RC1
Fix Version/s: 2.0-RC2
Component/s: View technologies
Environment:2.3GHz quad core processor with 4GB of memory running Win 7 x64. The environment is Java JDK version 1.7.0 with JAVA_OPTS set to -XX:MaxPermSize=256M -Xmx768M. GRAILS_HOME is set to version 2.0.0.RC1.
Create an app with a domain of:
Create the controller and views
Create a command object in src/groovy as follows:
Add an action to the Book controller as follows:
create an 'operation' gsp that includes a form and within the form add the following input field:
Run the application and insert a new Book. The select list for the book's state is correctly populated. Now browse to the book/operation page. You will get an error that boils down to:
where 'test' just happened to be the name of my app and thus the default package name also.