File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes problem after Downloads of file components no work page no update Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "problem after Downloads of file components no work page no update" Watch "problem after Downloads of file components no work page no update" New topic
Author

problem after Downloads of file components no work page no update

simone santos
Greenhorn

Joined: May 20, 2013
Posts: 4
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

Joined: Jun 25, 2001
Posts: 16054
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
simone santos
Greenhorn

Joined: May 20, 2013
Posts: 4
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem after Downloads of file components no work page no update