There is a nice and handy javascript library for creating kind of a modal “window”, similar to the famous lightbox. Here are few lines of code to make it running in a Grails application Installation First of all, you have to download the library. The easiest way is to install a plugin modalbox grails install-plugin… Continue reading Modalbox in Grails
Month: August 2008
Grails: internationalization in the service
Today I spent some time by creation of localized messages in a service. Here is a small tutorial. 1. Create your service grails create-service Local 2. Add a messageSource variable to your new service class LocalService { def messageSource } 3. Use it in a service method // Initialize parameters Object[] testArgs = {} def… Continue reading Grails: internationalization in the service