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

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