src/org/tiefaces/components/websheet/TieWebSheetBean.java
public void doExport() {
		try {

			String fileName = this.getExportFileName();
			ByteArrayOutputStream out = new ByteArrayOutputStream();
			this.getWb().write(out);
			InputStream stream = new BufferedInputStream(
					new ByteArrayInputStream(out.toByteArray()));
			exportFile = new DefaultStreamedContent(stream,
					"application/force-download", fileName);

		} catch (Exception e) {
			LOG.log(Level.SEVERE,
					"Error in export file : " + e.getLocalizedMessage(), e);
		}
		return;
	}
public void doExport() {
		try {

			String fileName = this.getExportFileName();
			ByteArrayOutputStream out = new ByteArrayOutputStream();
			this.getWb().write(out);
			InputStream stream = new BufferedInputStream(
					new ByteArrayInputStream(out.toByteArray()));
			exportFile = new DefaultStreamedContent(stream,
					"application/force-download", fileName);

		} catch (Exception e) {
			LOG.log(Level.SEVERE,
					"Error in export file : " + e.getLocalizedMessage(), e);
		}
		return;
	}
download current workbook.