Issue 170: There are no need for escapeHtml in HtmlCellEditor
Status:  Invalid
Owner: ----
Closed:  Jan 2009
Reported by qxodr...@gmail.com, Dec 21, 2008
if you set the right encoding of contentType,there are no need for
escapeHtml in HtmlCellEditor


Dec 22, 2008
Project Member #1 jeff.johnston.mn@gmail.com
The issue came out with the worksheet. If it is not escaped then columns that say
things like "This is a <tag> definition" will not work. The browser will not show the
"<tag>" part. If you do not want the encoding then use the BasicCellEditor for the
CellEditor. Does that make sense?
Jan 25, 2009
Project Member #2 jeff.johnston.mn@gmail.com
(No comment was entered for this change.)
Status: Invalid
Nov 30, 2009
#3 AlejaV...@gmail.com
Hi,
almost a year after this issue was closed I would like to add a comment.
I was using jMesa 2.3.4 and when I started a new project I moved to jMesa 2.4.5
As always, people like me with non-English applications have much more problems when
dealing with charset, encodings and anything related.
In this case, the new problem that I faced is related to this issue. If the default
HtmlCellEditor is used, it escapes all my accents (áéíóú) to &aacute;,&iacute; ,...
That's not problem with the browser, but with the PDF export it is. I don't know why,
but it doesn't understand those escaped chars (even if it's standard HTML) so the PDF
ends showing lot of "acute" everywhere.
I know that must be an iText issue, not jMesa, and as long as PDFP is too ugly, hehe,
 this can be fixed like Jeff said:

htmlColumn.getCellRenderer().setCellEditor(new BasicCellEditor());

for all columns.

I hope this can help people like me with our different charsets or encodings.



htmlColumn.getCellRenderer().setCellEditor(new BasicCellEditor());