I have a regular Controller (let's called it A) which does some fancy processing, and builds a non-trivial command object as its result. It then redirects to another Controller (and this form is B), this time, it's a SimpleFormController.
I'd like to use the command built by A as the form backing object in B.
I've been placing the object in the HttpSession, and pulling it out in B's formBackingObject(). Is there a way to pass it as part of the model from A and get to it in B? Placing it in the session seems like a bad idea.
This seems like something that shouldn't be too hard to do. I've stepped through the code and it all makes sense, I am surprised not to find some flag or setting which just does what I need. Maybe I'm missing something?