Right now we are using Tapestry 5.3.7 and upgrading is unlikely, so the
async option is out of the reach, I think. I also do not want to open the
save-file-dialog by default (the requirement from the client).
I will check the FileSaver as soon as I can.
Is there a possibility that the zones could
you could use t:async="true“ instead and return the pdf along with some custom
script that re-activates your button.
the binary of the pdf could be passed into FileSaver[0] to create the
save-file-dialog of the browser. while all this happens you could show a
progress indicator to the user.
if
Hi everybody,
I have an actionLink, which action returns the pdf document from the
server. The document is dynamically generated, so it can take few seconds
to deliver it to the user. I want to prevent the user from clicking on the
actionLink multiple times. I can block it in java script after the