My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 313: Exported CSV and Excel files contain <td> html tags
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by vd7341...@yahoo.com, Apr 27, 2011
What steps will reproduce the problem?
1. Set export types to CSV and JEXCEL following example BasicPresidentController.java (in jmesa-3.0_examples.war-source.zip)
2. Rendered the table in Browser successfully using Ajax method
3. Clicked CSV export icon, opened downloaded file

What is the expected output? What do you see instead?
Saw <td>...</td> tags around each value in CSV export.  Same happens for Excel export.

What version of the product are you using? On what operating system?
JMesa-3.0.4e.jar

Please provide any additional information below.
I based my server-side code on BasicPresidentController.java. Especially the part where you check tableModel.isExporting() and use the plain Table, Row and Column objects intead of HtmlTable, HtmlRow and HtmlColumn.

Apr 28, 2011
#1 vd7341...@yahoo.com
Please close this Issue. The cause was programmer error. I was mistakenly using HtmlColumn instead of Column for my CSV and JExcel exported table.

Powered by Google Project Hosting