Example #1
0
 public void onClick$button_Download(Event event) throws Exception {
   if (logger.isDebugEnabled()) {
     logger.debug("--> " + event.toString());
   }
   String lam = permohonanService.getFilePath() + "lampiran.xlsx";
   try {
     Filedownload.save(new File(lam), null);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
Example #2
0
  private void doShowDialog(TPermohonan tPermohonan, TVerifikasi tVerifikasi)
      throws InterruptedException {
    if (tPermohonan == null) {
      tPermohonan = getPermohonanService().getNewPermohonan();
      settPermohonan(tPermohonan);
    }
    try {
      doWriteBeanToComponents(tPermohonan, tVerifikasi);
      window_Permohonan.doModal();

    } catch (Exception e) {
      Messagebox.show(e.toString());
    }
  }