Steve, your snippet expired me to redirect to the user's actually intended page: AppModule.java ---------
/** 65 + * silently redirect the user to the intended page when browsing through 66 + * tapestry forms through browser history 67 + */ 68 + 69 + public RequestExceptionHandler decorateRequestExceptionHandler( 70 + final ComponentSource componentSource, 71 + final Response response, 72 + final RequestExceptionHandler oldHandler) 73 + { 74 + return new RequestExceptionHandler() 75 + { 76 + @Override 77 + public void handleRequestException(Throwable exception) throws IOException 78 + { 79 + if (!exception.getMessage().contains("Forms require that the request method be POST and that the t:formdata query parameter have values")) 80 + { 81 + oldHandler.handleRequestException(exception); 82 + return; 83 + } 84 + ComponentResources cr = componentSource.getActivePage().getComponentResources(); 85 + Link link = cr.createEventLink(""); 86 + String uri = link.toRedirectURI().replaceAll(":", ""); 87 + response.sendRedirect(uri); 88 + } 89 + }; 90 + } -- View this message in context: http://tapestry.1045711.n5.nabble.com/Safari-for-example-browser-history-and-form-exception-tp4942074p4946765.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org