I have a FormAction which is cancellable. When the user cancels, a transition to the end-state occurs. This is all well and good. The end-state's view is a RedirectView, which works, but has the strange side effect of including a reference to the form object as part of the request.
After the redirect I see this on the request url:
I really expected to only see:
The relavant spring web flow xml looks like this:
And the redirect view is defined as:
<view-state id="reportSourceForm" view="reportSourceFormPage">
<action bean="reportSourceAction" method="referenceData" />
<action bean="reportSourceAction" method="setupForm" />
<transition on="submit" to="reportSourceSubmit">
<action bean="reportSourceAction" method="bindAndValidate" />
<transition on="cancel" to="finish" />
<end-state id="finish" view="landingRedirect" />
How do I get rid of those request paremeters? I guess I'm asking, how do I clear the model so that it's not appended to the targetUrl?