I have a Groovy Grails application and I want to access programmatically to a property defined in messages.properties.
As a test, I've tried the following statement:
println "capacity.created: ${messages.properties['capacity.created']}"
But it doesn't work (throws an exception).
Any help is welcomed.
Luis