• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem after Downloads of file components no work page no update

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
reply
    Bookmark Topic Watch Topic
  • New Topic