Tag Archives: grails

Using GrailsApplication in UrlMappings.groovy

As of the current version of Grails we are using (2.0.1), the grailsApplication bean is not available for use in the UrlMappings class. However, the UrlMappingsHolderFactoryBean implements GrailsApplicationAware, so we can call getGrailsApplication() to do things such as base or mappings … Continue reading

Posted in Grails, Groovy | Tagged , , , | Leave a comment

Implementing a Grails required interstitial form page

Having shared functionality/pages across software modules in web application development seems to be a common occurrence (at least within the projects on which I am working) and is a problem that can be handled in a number of ways. Currently, … Continue reading

Posted in Grails, Groovy | Tagged , , , , , , | 3 Comments

Grails 2.0 mockFor() Gotcha

Update: When I was researching another Grails issue, I found out that what I encountered below looks to be fixed in Grails 2.0.1. I have yet to verify the fix, but if you also encounter this issue I urge you … Continue reading

Posted in Grails, Groovy | Tagged , , , , , , , , | 4 Comments

Web service clients – where Grails lost its mojo

I am working on a Grails 2.0.x application that needs to consume some web services. Simple enough, I have written many clients in the past, using Axis and Spring-WS in Java, and WCF in .Net. Almost everything I have done … Continue reading

Posted in Grails, Groovy, Java, Web Services | Tagged , , , , , , , | 13 Comments