Please help someone who has had to teach themselves how to do Grails...
I have some code that is trying to call a controller to do some work, then call another controller to do some work and then back to the original controller. I need to pass an id along the chain but after the first forward, the value becomes null. Why? And how do I do it right? The code is this:
I tried putting the id in the params ("params: [companyName: params.companyName, id: id]") when passing back to the RoomController, but it was still null. Even tried creating a new version of the id and passing it - still came through as null. I suspect (but have not tried), that the companyName getting passed get nulled too.
What am I doing wrong?
It's not how you survive the storm, but how you dance in the rain...
I love a good mentalist. And so does this tiny ad: