Hi Everyone,
Just wondering if anyone knows a way to reload the applications
current place in the following way:
PlaceController.goto(PlaceController.getWhere());
What happens is that the place controller realizes that it's the same
place your trying to go to so it doesn't do anything.
I could write an extremely long if statement that compares getWhere()
to all of my places but that seems a little long winded to do a simple
thing. ie:
if( (PlaceController.getWhere() instanceof TestPlace){
PlaceController.goto(new TestPlace());
}else if(.......
any simple workarounds would be greatly appreciated. I'm using the
activities and places mvp pattern.
Cheers,
-Mark
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.