Hi I have already filed an RFE for this sort of behaviour in jira. My proposal is to have some sort of way of notifying the viewcontroller/ or an ability to query the statemachine, that some user action occurred to the statemachine that causes it to become out of sync.
Hermod -----Original Message----- From: Dominique Jean-Prost [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 6:42 PM To: dev@struts.apache.org Cc: Willy Weiersmuller Subject: [Shale] IllegalArgumentException when not synchronized with statemachine Hello, Concerning the use of back button in the browser: When used, the back button causes an IllegalArgumentException for having desychronized the state machine. I would like to if it would be possible to change the exception type so that I get a more typed exception, for example : ShaleSynchronizationLostException or whatever, so that I could catch it and then reroute to an error page telling my dummy user not to use this button By the way, do you think it would be a good idea to deal with the problem this way ? Does anyone has a better way to deal with this issue ? regards, dom PS : wouldn't a specific shale mailing list be more effective ? java.lang.IllegalArgumentException: You have requested a transition outcome named "dialog:CreerContrat" from a state named "CreerTiers1" in a dialog named "CreerTiers", but no transition definition can be found. Double check the spelling of the transition outcome name. at org.apache.shale.dialog.faces.DialogNavigationHandler.transition(DialogNavigationHandler.java:546) at org.apache.shale.dialog.faces.DialogNavigationHandler.postprocess(DialogNavigationHandler.java:356) at org.apache.shale.dialog.faces.DialogNavigationHandler.handleNavigation(DialogNavigationHandler.java:222) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java :164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service (FacesServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java :173) at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:275) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java :80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]