Open allenvpn312 opened 2 years ago
Hello @allenvpn312, what version of the component are you using?
Hi, I am using version 16.4.1.
On Fri, Jan 21, 2022 at 5:29 AM Paola De Bartolo @.***> wrote:
Hello @allenvpn312 https://github.com/allenvpn312, what version of the component are you using?
— Reply to this email directly, view it on GitHub https://github.com/vaadin-component-factory/vcf-pdf-viewer-flow/issues/6#issuecomment-1018506561, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIXSWJOMLFVT356WAHL2NTUXFNVLANCNFSM5KZNYBRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.*** com>
-- Regards, Allen
My question was about which version of vcf-pdf-viewer-flow are you using, is it 2.0.0 (for Vaadin 22) or 1.0.1 (for Vaadin 14)? Thanks.
Oh, sorry. I’m using Vaadin 14 so it’s version 1.0.1.
On Fri, Jan 21, 2022 at 11:17 AM Paola De Bartolo @.***> wrote:
My question was about which version of vcf-pdf-viewer-flow are you using, is it 2.0.0 (for Vaadin 21) or 1.0.1 (for Vaadin 14)? Thanks.
— Reply to this email directly, view it on GitHub https://github.com/vaadin-component-factory/vcf-pdf-viewer-flow/issues/6#issuecomment-1018789752, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIXSWJ3O6EQYGDCD6OMJZDUXGWK3ANCNFSM5KZNYBRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.*** com>
-- Regards, Allen
Hi again, I wasn't able to reproduce your issue. There's a new version out, see https://vaadin.com/directory/component/pdf-viewer/1.0.2. Can you tell me if the issue remains with this new version? If so, can you share a small example so I can reproduce the issue?
Regards
Ok, I apply the updated version and let you know. Thanks
On Fri, Jan 28, 2022 at 7:17 AM Paola De Bartolo @.***> wrote:
Hi again, I wasn't able to reproduce your issue. There's a new version out, see https://vaadin.com/directory/component/pdf-viewer/1.0.2. Can you tell me if the issue remains with this new version? If so, can you share a small example so I can reproduce the issue?
Regards
— Reply to this email directly, view it on GitHub https://github.com/vaadin-component-factory/vcf-pdf-viewer-flow/issues/6#issuecomment-1024318215, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIXSWPAP5MYTBRCJJ62VBLUYKXPHANCNFSM5KZNYBRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.*** com>
-- Regards, Allen
Receiving error when opening pdfviewer. This only happens on the first call. Subsequent calls does not receive this error. Below is the sample code.
`pdfReport.generate(); // Generate report
var is = new ByteArrayInputStream(pdfReport.getOutputStream().toByteArray());
resource = new StreamResource(filing.getTaxReport().getCode(), () -> is); resource.setContentType("application/pdf"); resource.setCacheTime(0);`