Hello!!
I don't even know if this is possible, but I thought I would give it a shot. When using p:fileDownload it is downloading a file from a specific path, my question is once it is done downloading can we set a bean say #{blah.delete} where it will then delete the file from the path that was set to download? I had considered using an actionListener in my commandButton but if I do that it won't even reach the p:fileDownload portion...anyone have any suggestions??
Thanks!
delete file after p:fileDownload executes
- jim@jimtough.com
- Posts: 142
- Joined: 03 Jun 2011, 18:06
- Location: Canada
Good question. I was discussing that with someone in this topic:
viewtopic.php?t=13988
If you find a solution please do tell.
viewtopic.php?t=13988
If you find a solution please do tell.
PF 3.0,
Mojarra 2.1.4,
Tomcat 7.0.14,
Eclipse Indigo,
IE 7, Chrome
http://stackoverflow.com/users/346112/jim-tough
Would rather be a Decepticon...
Mojarra 2.1.4,
Tomcat 7.0.14,
Eclipse Indigo,
IE 7, Chrome
http://stackoverflow.com/users/346112/jim-tough
Would rather be a Decepticon...
-
- Information
-
Who is online
Users browsing this forum: No registered users and 46 guests