I'm using Spring WebFlow 2. Here's my situation.
View states: state1
, state2
Transitions: state1
goes to state2
if validation passes
state2 pops up a new window using the following:
<view-state id="state2" view="externalRedirect:${flowScope.myUrl}" redirect="true" />
I want to be able to continue my business at state1 after the window pops up. Normal flows don't seem to have a problem.
But here's when things go bad.
- I'm in
state1
. There's a form to fill out. - I fill in the form but it doesn't pass validation.
- I fill in the form again.
- I get to
state2
which just pops up a new window with the URL set in the source code. - The existing window goes back to the form.
- I fill out the form again, submit.
- IE says web page has expired.
Can anyone tell me what's going on please? Is this the right way to pop up windows? Thanks.