Tags » Grails

Grails - my cheat sheet

Snippets of code I often use, but can’t remember.

Using assets <asset:stylesheet src=”my.css”/>
Grails

SongoftheDay: RE-INCARNATION BLUES by GRAILS Grails

SongoftheDay: RE-INCARNATION BLUES by GRAILS


One of my favourite discoveries of the past 5 or 6 years. After two albums of trying to find their sound, … 208 more words

Fuck 'n Right

Grails - upload/store image in database using Burning Image plugin

Example on how to easily add an image to a domain class and store it in a database using the Burning Image plugin. I’m using Grails 2.5.0, not sure if this works in all other versions. 279 more words

Grails

Loading and Removing bean at run time in Spring Application

Hi friends,

Sometimes, we face some issues while configuring beans in Spring application. We may have to restart the application each time we made any changes in configuration file. 56 more words

Bean

Know whether the image being posted is horizontal or vertical

Suppose you have a CommonsMultipartFile object  and you want to know whether image posted is vertical or horizontal (example in case of cover photo like facebook’s, you might want user to post only horizontal snap) , then it can be done in the following way… 23 more words

Groovy

Grails JSR 311 Plugin vs Spring Security Core Plugin

In Grails plugins are king and can save you a whole deal of time and effort. Unfortunately often they are not written by the core developers and can at times introduce a few gotcha’s when combined with other plugins. 342 more words

Grails

Grails Hibernate EhCache Issue

While working on a side project I ran into an issue when running any of the dbm-* migration plugin scripts.

This was working up until I installed the spring security core plugin. 244 more words

Grails