Thank you,
I applied following sollution:
* I used the listener you said (already had it for other reasons) http://opensource.atlassian.com/proj...browse/SWF-238
* added the following to global-transitions
Code:
<transition on-exception="java.lang.Exception" to="backToLastViewState" />
* added following state to the flow
Code:
<decision-state id="backToLastViewState">
<if test="${flowScope.previousViewStateId == null}" then="defaultState"
else="${flowScope.previousViewStateId}" />
</decision-state>
Where 'defaultState' is the state to go to when an error occurred before the first view state is shown.
I think this is a quite proper solution to redirect a user to the screen he came of when an error occurres.
hans