I found this post today. After implementing the suggestion, I found that
just delaying the rest of the update works as expected, viz:
selectionModel.addSelectionChangeHandler(new
SelectionChangeEvent.Handler() {
@Override
public void onSelectionChange(SelectionChangeEvent event) {
com.google.gwt.core.client.Scheduler.get().scheduleDeferred(new
ScheduledCommand() {
@Override
public void execute() {
getUiHandlers().onActivityDelete(selectionModel.getSelectedObject());
}
});
}
});
given
final SingleSelectionModel<Activity> selectionModel
and
uiHandlers
is from gwt-presenter framework.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/5hRxjxzr1a8J.
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.