Archive | Groovy RSS feed for this section

13 January 2010 0 Comments

A simple GSP toolbar taglib for Grails

Did you ever had to implement a menu in Grails GSP where every link element should be seperated from its predecessor by a separator character and where some of the elements can be missing when certain conditions are not met (security etc)? The part with the optional elements can turn the separator handling into a [...]

10 October 2009 0 Comments

Grails sanitized stracktraces

The other day I was writing a medium complex HQL query for a Grails App and no matter what the line executing the query would crash like this: ?View Code GROOVYjava.lang.NullPointerException at $Proxy13.createQuery(Unknown Source) at com.acme.PerformanceService.makePerformanceSheet(PerformanceService.groovy:38) … So how the hell do we figure out what the problem given so few information? Turns out that [...]

20 July 2009 4 Comments

Updating multiple page elements with Grails and Ajax

Every Web Application Project I’ve been involved in the recent past had one thing in common: the client demanded more and more rich-client features at an ever increasing pace – without committing itself to real rich-client frameworks such as Flex or Silverlight. This leaves us with Javascript / AJAX for implementing highly dynamic User Interfaces [...]

Tags:
18 June 2009 1 Comment

Using GIT with Grails UI-Performance Plugin

I’ve been doing a serious amount of Grails Development lately and if there’s one Grails Plugin I consider mandatory for any serious production deployment then it is the UI-Performance plugin by Burt Beckwith. One of the features of the plugin that reduces server load is versioning and far-future “Expires” and “Cache-Control” headers for static resources. Each time [...]