Blog
Recently, I have been looking for a way to implement thread synchronization in a Grails application which is hosted on several nodes on Rackspace. And while it’s rather easy to synchronize threads within a single servlet container,…
In my previous GORM related article, “Association Types in GORM“, I have described how to create different types of relationships using Grails ORM. In this article, I would like to talk about several advanced GORM features that…
This post shows how to create Grails tag library for adding and removing identical HTML blocks, which can be usedwhen you want to give user an option to dynamically add extra inputs for additional information. There are…
This example shows how to use pagination and sorting with many-to-many relationship in Grails. Suppose you have two domain classes: Author, Article and you want to display all articles of some author in a page with pagination. Domain classes: The…
GORM (Grails Object Relational Mapping) is a plugin integrated with Grails and based on Java ORM – Hibernate. In this article, I’m going to describe how to make different kinds of associations in GORM. One-to-many relationships Let’s…
I had an issue with deploying my Grails project to Cloud Foundry with using cloudfoundry-grails-plugin. My application was using Tomcat 7 unlike Cloud Foundry, which use Tomcat 6. In other words, to have a Grails application with…
Assume you have a page with pagination that displays some objects table (selected from DB with GORM criteria) in your Grails application. If you want to know total number of possible results (as if there are no…
I’ve faced a problem with unit testing web flow controllers There’s an existings WebFlowUnitTestMixin for unit testing webflow in GDK, but no word on how to use it in the latest Grails 2.2.0 official documentation. All of…
Our team is working on a Grails plugin now, which will have UI based on Platform UI Grails plugin. Platform UI plugin allows you to easily configure Grails applications look using different page markups(themes). It provides a…
This code snippet shows how to update project configuration settings from a Grails plugin executable script. The script changes the configuration by copying the settings from a default config file, placed in the plugin’s folder, to the…
Portlets are pluggable user interface software components that are managed and displayed in a web portal. They produce fragments of markup code that are aggregated into a portal. There are two specifications of portlets exist nowadays, they…
Hi, guys, today we’re gonna talk about the really interesting and tricky Grails task, implementation of the custom sorting. It’s a pretty often appearing situation, when you need to sort the list of items, basing on the…
Boost your business with custom software
Tell us about your business needs and we’ll suggest a solution
We have received your request and will get back to you within 1 business day