jsf - Prime faces Export data not working -
i tried export data datatable when press pdf button example refresh page without export
<h:commandlink > <p:graphicimage value="/images/excel.png" /> <p:dataexporter type="xls" target="datatable" filename="alarms" /> </h:commandlink> <h:commandlink > <p:graphicimage value="/images/pdf.png" /> <p:dataexporter type="pdf" target="datatable" filename="alarms"/> </h:commandlink> <h:commandlink > <p:graphicimage value="/images/csv.png" /> <p:dataexporter type="csv" target="datatable" filename="alarms" /> </h:commandlink>
<p:commandlink>
has surrounded <h:form>
tag work. if not problem can please provide source code of whole page , primefaces version working with?
Comments
Post a Comment