@UiHandler("callService")
  public void callService(ClickEvent e) {
    final RequestDispatcher dispatcher = ErraiBus.getDispatcher();

    MessageBuilder.createMessage()
        .toSubject("IsDirtyService")
        .signalling()
        .noErrorHandling()
        .sendNowWith(dispatcher);
  }
示例#2
0
 @Override
 public RequestDispatcher get() {
   return ErraiBus.getDispatcher();
 }