I used the same sample code Primefaces has in its web page:
<h:commandLink value="Excel">
<p:dataExporter type="xls" target="dataTable" fileName="boo" pageOnly="true"/>
</h:commandLink>
But does not work. In Internet Explorer browser gives the following message:
Details of the errors of the web page Message: Unexpected call to method or property access.
Nothing ever happens in Mozilla Firefox.
What might be happening?