PerShing2014 / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

Exported CSV and Excel files contain <td> html tags #313

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by vd7341...@yahoo.com on 27 Apr 2011 at 6:35

GoogleCodeExporter commented 8 years ago
Please close this Issue. The cause was programmer error. I was mistakenly using 
HtmlColumn instead of Column for my CSV and JExcel exported table.

Original comment by vd7341...@yahoo.com on 28 Apr 2011 at 10:17