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

c# - OpenXML hanging while writing elements -

php - regexp cyrillic filename not matches -

java - IntelliJ - No such instance method -