Invocation of the normal Grails index (list) is still generating an empty map: null()
However, invoking book-index.html directly will display the list and add (+) button.
Adding a book displays an error dialog that I have saved as a screenshot.
OS: Ubuntu 12.04
Grails SDK: 2.0.3
For the moment there is no integration with normal scaffolding. I've just added it to the TO DO list. If you click on Author controller you will get the error you described.
I can't reproduce the last error. Could you please email me with your sample project so I'll have a look.
I've just put in github a test project with a step by step explanation. It's a simple example with Author and Book and a many-to-one relationship. If you don't create any author first, it will fail when creating book.
Athos for the 3musket33rs
I just wonder what would be for a plugin the best strategy.
Modifying the URL Mapping to add our own index.html
Modifying the index.gsp to point to our new controller
At the end we should aim to have both gsp and mobile scaffolding together as with spring mobile we could build a web site which does serve normal gsp for web browsing on pc and html5 for mobile.
Also there is a strtegy for hybrid mobile wep app to put the html directly package on the phone. Then they will never reside in the web app directory but really on the phone.
Any suggestion would be welcome.
Your github repo sample is empty or I may miss something.
Corinne alias Athos.