Package org.zkoss.zk.au.out

Examples of org.zkoss.zk.au.out.AuDownload


   */
  public static void save(Media media, String flnm) {
    final Desktop desktop = Executions.getCurrent().getDesktop();
    ((WebAppCtrl)desktop.getWebApp())
      .getUiEngine().addResponse(
        new AuDownload(new DownloadURL(media, flnm))); //Bug 2114380
  }
View Full Code Here


            /*
             * We cant use FileDownload.save(<url>) as it creates a new url
             * where the resource can't be find so we have to create ourselves
             * the download request
             * */
            Executions.getCurrent().addAuResponse(new AuDownload(jasperreport.getReportUrl()));
          URItext.setStyle("display: inline");
          URIlink.setHref(jasperreport.getReportUrl());
        }
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zk.au.out.AuDownload

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.