Re: Setting HTML on TextCell GWT 2.1.1

2011-01-06 Thread Thomas Broyer
Maybe you could then pass a SafeHtmlRenderer to the constructor of ClickableTextCell/TextCell, that uses SafeHtmlUtils.fromTrustedString (instead of relying on the SimpleSafeHtmlRenderer that's used by default with the no-arg constructor, that uses SafeHtmlUtils.fromString) -- You received thi

Re: Setting HTML on TextCell GWT 2.1.1

2011-01-06 Thread bond
Thanks very much Thomas. I forget to say that I need that the cell is clickable. So I extended ClickableTextCell but the HTML is not rendered. Instead with SafeHtmlCell it is rendered but the cell is not clickable :-) Thanks for your suggestions! Regards Daniele On 5 Gen, 18:49, Thomas Broyer

Re: Setting HTML on TextCell GWT 2.1.1

2011-01-05 Thread Thomas Broyer
That's what happens when you take advantage of bugs and then they fix them ;-) Use a SafeHtmlCell instead: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/cell/client/SafeHtmlCell.html -- You received this message because you are subscribed to the Google Groups "Googl

Setting HTML on TextCell GWT 2.1.1

2011-01-05 Thread bond
Hi, with GWT 2.1.1 I've a problem when I set some html text to a cell. I know that now it used SafeHtml that escape charactes. I've something like this: addSortColumn("Html column", new TextCell(), new GetValue() { public String getValue(String object) {