This is a subtype of
com.gwtplatform.mvp.client.proxy.PlaceManagerImpl that uses
custom name tokens to reveal default, error and unauthorized places.
Important! If you use this class, don't forget to bind
DefaultPlace,
ErrorPlace and
UnauthorizedPlace to valid name tokens.
Note: The default, error and unauthorized places are revealed without updating the browser's URL (hence
the false value passed in
#revealPlace(PlaceRequest,boolean)).
This will avoid stepping into an infinite navigation loop if the user navigates back (using the browser's back
button).
Here's an example of infinite navigation loop that we want to avoid:
- An unauthenticated hits #admin (a place reserved to authenticated admins)
- The #unauthorized place is revealed, and the browser's URL is updated to #unauthorized
- The user clicks the back button in his browser, lands in #admin, then #unauthorized, then #admin, and so on.