7
2012
Making Grails Apps Native in a Microsoft Environment
It’s a little-known fact that I’m a part-owner of one of the most uncool Grails startups in the known world. We don’t have Webscale issues, we don’t have staff beanbags, in fact we don’t even offer a cloud-based solution. We install Grails-based software on hosts inside corporate environments. We do compliance software. Like Health and Safety and IT Security stuff. Nerdy in the extreme. But also very fun to work on, and, shock-horror, a sustainable [...]
16
2011
Grails, PhoneGap and Fun @ OSDC2011
I’ve had a great couple of days at OSDC 2011! Tuesday I was hanging out at the First Ever Australian GR8 Conference, spent Tuesday night with the CJUG boys, then have been presenting today on PhoneGap to the broader OSDC conference. Great times! Interesting this is definitely one of the hardest core developer communities I have hung out with. Hardly any Macbooks/iPhones in sight and Linux laptops and Android phones everywhere! People are really committed [...]
31
2011
SpringOne2GX 2011 was one Groovy Show!
What a fantastic time we all had at SpringOne 2GX in Chicago over the last week. My head is jam packed full of information and I have so many new things to add to my list of cool Groovy tech to explore! If you’ve never made it to one (this was my first), I can highly recommend it! First things First: Relationships trump everything The absolute best part of these events is the chance to [...]
20
2011
DRYer Grails views? Learn less.css, backbone.js, twitter bootstrap and more @ 2GX
I’m just putting the final demo together for one of my sessions at SpringOne 2GX called “Does my DIV look big in this?” This talk brings together a whole bunch of technologies that I’ve been experimenting with for a while that help keep your view tier DRYer, namely: Grails Resources (for shrinking your dependencies) Various Grails and non-Grails DRY view technologies (including bean-fields, navigation, validation and other jQuery related goodness) Less.css for keeping your CSS [...]
20
2011
Patching bean-fields on 2.0.0.M2
If you’re having troubles with the Bean-Fields plugin on Grails 2.0.0.M2, there’s a quick workaround to get up and running. So if you see something like… Caused by GrailsTagException: Error executing tag <bean:form>: Cannot get property ‘class’ on null object You know you’ve tripped the issue. I’ve logged the issue in GPBEANFIELDS-40 but the root cause is actually not beanfields at all. It’s a breaking change introduced in Grails 2.0.0-M2 for performance improvements (GRAILS-8001). The change [...]
16
2011
Grails Hacker Triage: When Bad Code happens to Good Developers
We’ve all been there. Maybe you were in a rush to get your latest Grails app out the door, or maybe it was a hobby project you were doing in your spare time and things just got out of hand. Hack code, click refresh, hack code, click refresh, (pause to complain about why Grails needs a restart), hack code, click refresh. You know the drill. Refresh-driven development (RDD). Either way you find yourself with a [...]
1
2011
Grails Code Camp: Wellington – where Yaks were kept hairy (mostly)
I’m just back from a fantastic time in Wellington, New Zealand, where I was doing some Grails training and speaking duties for Asia/Pacific User Group of SunGardHE. Wellington is a very beautiful place (albeit a little cold – and I *live* in a cold place!) and the local hosting team of Andrew/Dale/Keiryn where just fantastic in sorting everything out! On the first day I had a chance to speak with around 100 managers on the benefits [...]
27
2011
Grails 1.3.7 and the dreaded SAXParseException
I’ve run into this one a few times on Grails 1.3.x, and every time I have to go googling to sort it out – it’s time to write it down to speed up my Google searches! The error I end up with is typically something like: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name “org/xml/sax/SAXParseException” If you get this on a project after installing a new [...]
15
2011
Yes I can locate a GORM API implementation!
I’ve been having the weirdest issue with Grails 2.0M1 (nee 1.4M1). My application ran fine with “grails run-app”, but would fail when did a “grails tomcat deploy” and deployed to either Tomcat 6 or Tomcat 7. The error I was getting was… ERROR initWebApplicationContext, Context initialization failed org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is java.lang.IllegalStateException: Cannot locate GORM API implementation. You either don’t have a GORM implementation installed (such as the Hibernate plugin) or you are [...]
4
2011
Using Grails links from JavaScript: a micropattern
You want to include a link to one of your Grails actions (say an AJAX target link) in one of your JavaScript files. What to do? Well you could just inline your JavaScript in your GSP file, right? Then you can just access all the GSP tags you like and the problem just goes away, right? <r:script> console.log(“Now hacking on ${assessment.id}”); $.ajax({ type: ‘GET’, url: “${g.createLink(action: ‘addThreat’)}”, data: { assessmentId : “${assessment.id}” }, /* more [...]
Glen Smith
Archives
- April 2012
- March 2012
- January 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003


An article by Glen








