File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem after Downloads of file components no work page no update

 
simone santos
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
Good afternon
Please I tried different ways no got success
I use Icefaces, liferay (portlets) I used servlet for make downloads of file, The download ok, but after the components no work, only If I tightens F5

I use this for send idData to servlet






I tried response.setHeader("Refresh", "4"); in my servlet , work only in Firefox, but if I tightens to cancel Download no work the page stop and IE, Chrome, Safari no work

I tried use this target="_blank" , <ice:outputLink too no work

I no know more what search I no know if is because liferay

please can someone help me please

thank you
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17620
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally I do downloads by coding an "h:outputLink" tag on the JSF page that the user requests the download from. I can make this link look just like a button if I use CSS to alter its appearance.

The outputLink tag automatically attaches the session ID and URL context path, so no backing bean coding is required.
 
simone santos
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
thank you by replay

I tried with <h:outputLink not worked
I will explain
I tried


I have a datatable which will have a list of data, this variable x represents the data list
I have also selectBooleanCheckbox
this is take what has been selected, the file that the User selected to download
and keep this array of Integer way
this my Iterator is the way I found to move to servlet
fileId = 333
and is stored in the variable cods

I did so



the error in the property download
Do you know any other way I can do this
Why did so




The problem this like that after the file download
components does not work
works only if I press F5

thank you

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic