It was a nice day today. Walking around the Como Lake, we saw all sorts of birds coming back from migration. There were loons, coots, mallards, and gulls. The red-winged blackbirds were in full chorus. One of the coolest things was a mature bald eagle that surprised us overhead. We stopped walking to take a …
Month: March 2012
How to pass the entire model to a template in Grails
One way to pass the model set in your view GSP is to use ${pageScope.variables}. Here's an example:
Grails resources plugin
I installed the Grails zipped-resources plugin on a new project the other day, and I noticed that by default it zips up everything it sends. This is fine, but when I tried to make it ignore the image files being served up, it wasn't obvious at first how to do that. Finally, I figured out …
Grails CamelCase Sensitivity
I ran into an weird bug today that took awhile to figure out. Basically, I was getting the error when I deployed some grails code to a linux box. In the error log, this is what showed up: And, in the HTML response, this is what showed up: It took a while, but I finally …