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:Code:http://sw720usoi004t/rolbu/landing.html?%23formObject=com.foo.rol.billingutility.domain.ReportSource%401004e76 &flowSequence=ReportSourceForm &source=com.foo.rol.billingutility.domain.ReportSource%401004e76 &stepNumber=1 &flowTimestamp=Wed+Aug+31+11%3A17%3A27+PDT+2005
The relavant spring web flow xml looks like this:Code:http://sw720usoi004t/rolbu/landing.html
And the redirect view is defined as:Code:... <view-state id="reportSourceForm" view="reportSourceFormPage"> <entry> <action bean="reportSourceAction" method="referenceData" /> <action bean="reportSourceAction" method="setupForm" /> </entry> <transition on="submit" to="reportSourceSubmit"> <action bean="reportSourceAction" method="bindAndValidate" /> </transition> <transition on="cancel" to="finish" /> </view-state> ... <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?Code:landingRedirect.class=org.springframework.web.servlet.view.RedirectView landingRedirect.contextRelative=true landingRedirect.url=/landing.html
Thanks,
Christian


Reply With Quote
