I am working on Export to Excel using POI jars. i am using rich:dataTable for my table to export.I have wrapped it with <t:buffer>.In my table i have radio buttons as my 1st column, and also i am using sort for my header sorting.
The problem is when i export it to excel along with data my radio button are also getting exported and i can see a square icon on the header which is the sort icon.
i used substring to remove the radio buttonfrom the buffer variable as buffer variable contain HTML code. But nothing happened.
As a general rule, you shouldn't attempt to use a JSF View definition to output non-HTML data such as PDF's, MS-Word documents or Excel spreadsheets. The actual data output for those types of objects is much better done by servlets. You can use JSF to setup the data and to link to the servlet's URL, however.
Customer surveys are for companies who didn't pay proper attention to begin with.