Package org.zkoss.zul.impl

Examples of org.zkoss.zul.impl.FileuploadDlg


      Messages.get(MZul.UPLOAD_TITLE): title);
    params.put("max", new Integer(max == 0 ? 1 : max > 1000 ? 1000: max < -1000 ? -1000 : max));
    params.put("native", Boolean.valueOf(alwaysNative));
    params.put("maxsize", String.valueOf(maxsize));
   
    final FileuploadDlg dlg = (FileuploadDlg)
      exec.createComponents(
        _templ, null, params);
    try {
      dlg.doModal();
    } catch (Throwable ex) {
      dlg.detach();
      if (ex instanceof InterruptedException)
        throw (InterruptedException)ex;
      throw UiException.Aide.wrap(ex);
    }
    return dlg.getResult();
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.impl.FileuploadDlg

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.