June 2011
2 posts
Grails, spring-ws, SOAP & HTTP request's content...
If you ever have to use Grails to process a fucked up SOAP request with a content type of application/x-www-form-urlencoded then this post is for you. p.s. eventually we will stop processing that kind of requests but for now we need it to work so client has time to fix their shit up Problem with application/x-www-form-urlencoded requests & spring-ws’ message factory is that it does...
Jun 9th
How to use Groovy categories in gsp's
You use Groovy categories in a canonical way in gsp’s. i.e. by surrounding all your gsp code inside a call to <% use(YourCategoryClass) { %> <% } %> But it gets troublesome quite soon, especially if the main gsp renders other partial templates. Luckily there is a way to hook into the view rendering workflow. The trick is to provide your own implementation of View that invoke...
Jun 9th