public class AsyncCallHandler extends Object implements com.gwtplatform.mvp.client.proxy.AsyncCallFailHandler
Before navigation the placemanager fires a 'lock' event (see ) which causes the to insert an invisible 'glass' container in front of all other elements (to prevent user events during navigation). When the place was revealed a matching 'unlock' event is fired. In case of an unsuccessful async call this 'unlock' event will not be fired and the 'glass' will not be removed. This gives the impression that the UI has crashed.
So this handler displays an error message, unlocks the placemanager and reveals the last successful place again.
| Constructor and Description |
|---|
AsyncCallHandler(com.gwtplatform.mvp.client.proxy.PlaceManager placeManager) |
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.