• Post Reply Bookmark Topic Watch Topic
  • New Topic

PrimeFaces Dataexporter : File opens as HTML

 
Vikas Desi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using p:dataExporter tag to export my results in dataTable to various file formats. For PDF and XLS its working fine but for CSV and XLS its not.
When I try to download the file in CSV/XML format; file does not download, instead it opens in the same browser tab as a html page.

Here is my code to data Export:



and Here is the call to the Dialog.


It was working fine when I did not introduced the interactive dialog,

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!