Could you please try a change in the FileDownloadServlet ?
change a generated FileDownloadServlet.java, so the following code: if (prompt && fileName != null && fileName.trim().length() > 0)
{
httpResponse.addHeader(
"Content-disposition",
"attachment; filename="" + fileName + '"');
}
changes to: if (prompt && fileName != null && fileName.trim().length() > 0)
{
httpResponse.addHeader(
"Content-disposition",
"attachment; filename="" + fileName + '"');
httpResponse.setHeader("Cache-Control", "no-cache");
}
note the new line:httpResponse.setHeader("Cache-Control", "no-cache");
compile just the web subproject (mvn -f web/pom.xml), try and let me know if the image refreshs. If it works I add the change to the JSF2 cartridge.
--
Walter MourĂ£o
http://waltermourao.com.br_________________________________________________________
Reply to the post :
http://galaxy.andromda.org/forum/viewtopic.php?p=26195#26195Posting to
http://forum.andromda.org/ is preferred over posting to the mailing list!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/