Modifying the Scaffolded Views
We’re going to go through the scaffolded view code of the TekEvent class and make some simple modifications. (The things we change here can just as easily be done for the other classes’ views.) As we go through these changes, we can leave the application running and immediately see the changes by simply refreshing the browser—another example of how Grails keeps that rapid feedback loop going. This also takes the pain out of the tweaking process that we so often have to go through to get a page “just right.”
The List View
We’ll start by removing the organizer from the list view. When we generated the scaffolded views, Grails simply used the first six properties of our TekEvent for the table in the list view, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access