icefaces


IceFaces and FileResource - delete after session expires


I'm using Icefaces. I generate reports for users and provide it using FileResource class. I do nothing with the file, since it should be available for download whenever user clicks on link to resource.
However, after user logs out, the report is no longer needed and should be deleted. Is there a build-in option in IceFaces to bind FileResource with session and automatically delete it when session expires?
Resource binds to a file which already exists when you are binding it to a Resource. It is expected that the file would be needed again, so there is probably no point in providing a method to delete the file.
The IceFaces tutorial on FileUpload talks about manually deleting files after session expiry using a session listener. So I guess IceFaces does not provide any method to delete files, whether or not they are binded to a Resource.

Related Links

<ace:list> : Prevent an element to be draggable?
Alternative for SingleCopyStateManagerImpl in icefaces 3.3
Iceface 1.8 not working properly in IE11
Dynamic styling with IceFaces: how can I change the color of the outputText at the time of rendering?
icefaces outputConnectionStatus in javascript
How can I add a title to a disabled icefaces commandbutton?
Hide menuBar on click icefaces
ice:paneConfirmation - is it really so bad?
SessionRenderer not rendering throws ViewExpiredException
icefaces 1.8.2 Datapaginator unexpected PaneltabSet content swap
How can i download ICEfaces-1.7.0 Netbeans plugin?
Icefaces ace:autoCompleteEntry not working
ICEFaces: values for the “icon” attribute
EffectQueue and chaining effects in IceFaces 1.8
Ace Datatable row selector with paginator
How to customize internal server error popup?

Categories

HOME
cakephp-3.x
cntk
answer-set-programming
uibutton
paramiko
google-contacts
jasmine
zend-framework2
snap.svg
nodemailer
openwrt
unity2d
gwtp
local
line-api
sendkeys
redux-observable
zoomcharts
flat-file
pdfsharp
ui5
mef2
upnp
owl-api
pentaho-report-designer
mayavi
reply
encase
piecewise
spreedly
geo
qtablewidget
oscommerce
bigcartel
liquid-xml
discord.net
elfinder
equivalence
twiki
code-composer
tango
automator
gd
broadcast
maintenance
ruby-on-rails-2
forerunnerdb
hpcc
libreadline
windows-azure-pack
ruby-2.0
webkit2
image-editing
gemini
dac
sun-codemodel
interactive-brokers
self-hosting
function-fitting
manjaro
pylearn
web-component-tester
shift-jis
jython-2.7
magento-1.12
tilestache
cpu-speed
method-overriding
wss
driver-signing
onselect
iconv
fraud-prevention
template-haskell
attachevent
fileutils
sitemappath
grooveshark
front-controller
graph-layout
microsoft.ink
document-library
rd

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App