TO THE NEW Blog PAGES

Grails

Injecting Method to trim string length on gsp pages

Restricting the length of a string on gsps is a common scenario in most of our projects. Groovy’s metaprogramming magic made it too simple for me. I added the following lines of code to Bootstrap.groovy: Object.metaClass.trimLength = {Integer stringLength -> String trimString = delegate?.toString() String concatenateString = “…” List separators = [“.”, ” “] if […]

Technology

iReport 3.7

Shamsuddin has described iReport 3.7 inside out in his latest book ,this book is perfect for new learners. Best thing about this one is , that it has explained each option available in best manner possible making it a delight to read. What I liked about this one is one is in chapter named “iReport […]