This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes p:fileDownload not working with h:head Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "p:fileDownload not working with h:head" Watch "p:fileDownload not working with h:head" New topic
Author

p:fileDownload not working with h:head

Zainab Haf
Greenhorn

Joined: Sep 17, 2012
Posts: 11
i am facing a problem of using p:fileDownload with page having h:head. I dont know that h:head is linked or affects this p:download tag or not but after checking every single thing in the page i came to know that if i remove the h:head tag from the page the code



works fine with downloading (also let me add that it also works fine with only head)but if i add h:head, the download button just loads on same page and doesnt shows the download popup window. I cant work without h:head as i need the css on my page without it everything on page is jumbled up and goes messy..please see the complete page code below and help me identify what i am doing wrong here or what is causing this strange problem.
 
wood burning stoves
 
subject: p:fileDownload not working with h:head
 
Similar Threads
JSF 2.0 Login
Error:The XML page cannot be displayed Cannot view XML input using style sheet
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0
Problem with primefaces update
Animate image not working via <p:commandButton type=”submit”