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

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
Passing parameter to <ice:rowSelector>'s clickListener attribute
ICEfaces configured for view, but h:head and h:body components are required
ace:tabSet style is corrupted when using ICEFaces 3
How to configure rime style in ICEfaces 3
scrolling changes the size of the ice datatable headers
How to get values in dropdown list from database in icefaces?
Data pager in icefaces not paging
use sbt for generate a webapp with icefaces
Cancel button Icefaces with immediate=true
how to redirect to j_security_check in the managed bean?
How do I disable a column using icefaces?
icefaces menu bar handling
ui:repeatn tag inside ui:repeat..not working
<ice:outputMedia> and <ui:repeat>

Categories

HOME
shopify
antivirus
ocaml
aem
specflow
uiscrollview
image-recognition
qt-installer
scala-native
aspell
bar-chart
grub2
google-people
jsonserializer
jogl
cython
tweets
iup
jquery-scrollify
jquery-waypoints
yosys
python-textprocessing
croppic
java-ee-7
branch
codelite
classpath
nesc
thinking-sphinx
vegan
read-write
canvasjs
getline
ios-ui-automation
service-locator
passenger
wfp
npm-publish
visualstudio.testtools
tic-tac-toe
code-composer
mediawiki-extensions
constants
pdftk
dojox.mobile
worker
facebook-chatbot
nsjsonserialization
chunked-encoding
amazon-machine-learning
sapui
azureportal
cgcontext
windows-95
jcreator
visual-studio-templates
ingres
keycode
ebtables
children
radians
gherkin
nssplitview
coordinate-transformation
yoothemes
git-rebase
jta
function-fitting
ninject.web.mvc
apigee-baas
achartengine
ffserver
isml
callstack
web-component-tester
activity-streams
alphablending
adcolony
node-inspector
google-admin-audit-api
mfmailcomposeviewcontroll
slick-2.0
convex-polygon
onselect
multiple-login
stagefright
qtgui
graph-coloring
icsharpcode
tridion2009
web-safe-fonts
sunspot-rails
applicationcontext
userid
ubuntu-11.04
cross-domain-policy
path-manipulation
phpcrawl
ihttphandler
getresource
j-interop
revert
asp.net-mvc-controller
longjmp

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