Apache MyFaces
Documentation
Project Documentation
Foundation

Summary

Tag name: <mc:exporterActionListener>
Tag class: org.apache.myfaces.commons.exporter.ExporterActionListenerTag
Export datatable contents to an excel file or a pdf file. This class is acting as the tag handler for the Exporter ActionListener.

Attributes

Name Type Required Description
fileType String false "PDF" or "XLS"
filename String false Default name of the generated excel or pdf file, if not specified value of the "for" attribute will be used
for String false Id of the datatable component whose values to be exported