This follows on my questions
here.
I'm trying to create a webflow for creating two objects, User and UserInformation, at the same time; the latter
belongsTo the former.
In UserController I have the following action and flow:
I'm confused about a few things:
1) Why does "done with my create" get printed? I would think the redirect would cause that line to never be executed.
2) Why are the print statements in the webflow not getting called? The code itself does seem to get called because when I switch from
render(view:"/user/create"); to
render(view:"/user/list"); in createUser I do call up the correct view in each case.
3) How do I make the two calls to save both objects at the end of the flow?
4) Is this the right way to call the flow in the first place?
5) Anything else I'm doing wrong?
--Mark
[ March 17, 2008: Message edited by: Mark Herschberg ]