hello the component does not seem to work on vaadin 12. Nothing happens when I click on my button.
My ByteArrayInputStream is not null and contains a valid document because I can write it in a directory with a FileOutputStream
ByteArrayInputStream bs=excelService.exportExcel(nameTemplate);
FileDownloadWrapper fileDownloadWrapper=new FileDownloadWrapper(
new StreamResource("fsdfs.xlsx",
()->bs));
exportExcel=new Button("Export excel");
exportExcel.setClassName("menu-button-asset-edit");
fileDownloadWrapper.wrapComponent(exportExcel);
Am I wrong somewhere?
as in vaadin 7 or 8, the object uses the browser download interface?