use of de.gishmo.gwt.example.mvp4g2.simpleapplication.client.data.model.exception.PersonNotFoundException in project mvp4g2-examples by mvp4g.
the class DetailPresenter method onGotoDetail.
@EventHandler
public void onGotoDetail(long id) {
eventBus.setNavigationConfirmation(this);
try {
Person result = PersonService.get().get(id);
view.setUpData(result);
eventBus.setContent(view.asElement());
eventBus.setStatus("Edit person data");
} catch (PersonNotFoundException e) {
DomGlobal.window.alert("Panic!");
}
}
Aggregations