Grails switched to Spock as default testing framework. I really like Spock and is making testing more fun. I really like the feature of Data Tables to app different test cases very easily once the setup is done. Especially for testing controller actions for form submission, data tables make it easy to add new cases, […]
I commute every day 2 hours to work and after more than one year of doing so I was tired of reading stupid books, listening to music,… In other words I was bored on public transportations in Luxembourg. The best thing as a Software Developer, your office is always where you are. If you are lucky and have a notepad on your knees to can even code instead of just scribbling notes to your notepad. Techup.lu was born.
The GRAILS tags like remoteLink can easily be used inside a view (GSP) by using <g:remoteLink controller="book" action="show" id="1" update="content">MyBook</g:remoteLink> However, if you need to use any tag like remoteLink outside of a view, for example in a controller or service make sure to inject grailsApplication first def grailsApplication and then you can use the […]