Best way to handle authentication failures with RequestFactory on the client

2011-02-23 Thread juanita
I am trying to figure out the best way to handle authentication failures with RequestFactory on the client. The way I understand this is supposed to work is as follows: The client will perform a server request - typically expecting data to be returned. The gwt framework will check if the user is

Re: Best way to handle authentication failures with RequestFactory on the client

2011-02-23 Thread David Chandler
You can define a custom event for authentication failure and register a handler for it at startup. That is the approach taken here: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/gaerequest/ A handler for the