Spring web flow end state, want to go and edit a previous error? -


we have web flow, , @ end can tell there error processing transaction. want add functionality end of flow, natural end-state, lets user click edit button go to, say, step 2 of flow re-enter details.

can done? way see make current-end state regular view-state transition state 2 on click of button, end-state makes lot of sense since want clear details of transaction.

can me line thinking here?

adding decision state before end state work ok. test can made see if transaction went ok, , depending on either go end state or previous view:

<decision-state id="checkiftransactionok">     <if test="service.istransactionfailed()" then="previousviewstate" else="endstate" /> </decision-state> 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -