Tag Archives: grails

Groovy/Grails BBCode Markup Tutorial

I recently took it upon myself to implement a BBCode codec class for Groovy/Grails, and this is what I came up with. class BBCodeCodec {   static map = [ ‘[b](.*?)[/b]‘:’<strong>$1</strong>’, ‘[i](.*?)[/i]‘:’<em>$1</em>’, ‘[url=(.*?)](.*?)[/url]‘:’<a href="$1" target="_blank">$2</a>’, ‘[url](.*?)[/url]‘:’<a href="$1">$1</a>’ ]   static … Continue reading

Posted in Howto/Tutorial, Programming | Tagged , , , , , , , , | View Comments

Grails Quick And Easy Ajax Shoutbox

I recently had to make a shoutbox and I wanted to do it with Ajax in grails, so I’ll show you how it’s done. First thing’s first, let’s create the domain class and the controller for the shoutbox: grails create-domain-class … Continue reading

Posted in Howto/Tutorial, Programming | Tagged , , , , , , , | View Comments

How To Import A Grails 1.3+ Project To Eclipse STS

Since around grails 1.3ish, they have stopped autogenerating eclipse and netbeans project files because STS handles it itself. So what does that mean for people who start at the commandline and then want to go to STS? Well at first … Continue reading

Posted in Howto/Tutorial, Programming | Tagged , , , , , , , , , , | View Comments

Replacement Form Item For Grails to-Many Relationships

By default, grails just gives users a multi-select box when dealing with to-Many relationships in views. It’s damn ugly and incredibly ineffective if an end user is dealing with tons of things to select from. After tolerating it for a … Continue reading

Posted in Howto/Tutorial, Programming, Scripts | Tagged , , , , , , , | View Comments

Introducing Grails – A Framework That Will Blow Your Mind

I’ve posted a few times before about grails, so I figure I should formally introduce you to it in case you don’t know what it is. Think ruby on rails, but faster and better because that’s what it is. Grails … Continue reading

Posted in Programming, Rants, Reviews | Tagged , , , , , , , , | View Comments