This content has been marked as final.
Show 3 replies
-
1. Re: PDF & Excel export from rich:datatable
ilya_shaikovsky May 21, 2009 9:23 AM (in response to hari.manivannan)use apache poi for example and export data from your actions.
-
3. Re: PDF & Excel export from rich:datatable
pjmlp May 26, 2009 7:58 AM (in response to hari.manivannan)Hi,
if you don't want to depend on Seam, a solution is to create a phase listener, and from there get hold of the component tree.
Then transverse the tree looking for the dataTable you care about, and iterate to the data model, fetching the generated values from the EL expressions and placing them into the data structures that you will use for the export.
Sorry, but I cannot provide our implementation code as an example.