webflow exception handling
i'm pretty new to webflow and in fact spring mvc in general and was having trouble getting exception handling working in a flow. i can't seem to find good examples of this.
basically what i want to do is pretty simple.. when a flow completes (end-state is reached) and the user presses the back button, i want to catch the nosuchflowexecution/nosuchconversation exception and display an error page. this doesn't seem to work:
a bunch of view/action states
<view-state id="error" view="error" />
<end-state id="completed" view="externalRedirect:redirectURL" />
<global-transitions>
<transition on-exception="org.springframework.webflow.execution.r epository.NoSuchFlowExecutionException" to="error" />
<transition on-exception="org.springframework.webflow.conversatio n.NoSuchConversationException" to="error" />
</global-transitions>
can someone show me a simple example of how to do this or point out what im doing wrong?
thanks