aspose file tools*
The moose likes Other Application Frameworks and the fly likes Grails, chain forwards and values not getting set. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Grails, chain forwards and values not getting set." Watch "Grails, chain forwards and values not getting set." New topic
Author

Grails, chain forwards and values not getting set.

Lori Cook
Greenhorn

Joined: Apr 29, 2013
Posts: 5
Folks

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?

Lori <*>


It's not how you survive the storm, but how you dance in the rain...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Grails, chain forwards and values not getting set.