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

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?
How to use more than one ace:fileEntry tag in the same page?
Enabling ICEfaces compat leads to not recognizing h:head and h:body

Categories

HOME
json
jdbc
security
plsql
jenkins-plugins
tinyos
project-management
meshlab
visualization
dataframe
i2c
dropbox
eclipse-cdt
lotus-notes
packer
powershell-v3.0
cakephp-2.9
xlsx
session-timeout
clover
multiple-columns
cvs2svn
backpropagation
facebook4j
binutils
mayavi
configure
dhtmlx-scheduler
gettext
google-guava-cache
sidr
freetts
jquery-multidatespicker
soundjs
cross-entropy
intellij-idea-2016
productivity
z3py
bids
php-ews
openweathermap
lumen-5.3
goquery
greenhills
pagefile
gulp-typescript
cfeclipse
xib
icefaces
uistackview
dts
flexjson
loopj
lemoon
rad
p-np
playscape
lines-of-code
multipleselection
jcr-sql2
c++-actor-framework
adaptive-compression
smartystreets
pic24
zipalign
opensocial
facebook-sdk-3.1
.net-cf-3.5
nimrod
installshield-2009
threadx
client-side-scripting
dynamics-ax-2009
magickwand
domain-calculus
n-layer
cadisplaylink
pstree
getstring
throttling
nemerle
charts4j
goliath
junit3
adobe-contribute
grooveshark
filetime
openwysiwyg
hmacsha1
weborb
interface-design

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