RootPanel.get().add(new Label("employeeId is invalid"));
return;
}
final EventBus eventBus = new SimpleEventBus();
final ExpensesRequestFactory requestFactory = GWT.create(ExpensesRequestFactory.class);
requestFactory.initialize(eventBus, new GaeAuthRequestTransport(eventBus));
requestFactory.employeeRequest().findEmployee(employeeId).fire(
new Receiver<EmployeeProxy>() {
@Override
public void onSuccess(EmployeeProxy employee) {
final ExpensesMobileShell shell = new ExpensesMobileShell(eventBus,
requestFactory, employee, new LoginWidget(requestFactory));