FYI, I know that this simple construct will work:
view.setHTML(cellValue.replace("<", "<"));
This uses the AbstractCellView.setHTML (since setText() is deprecated)
but changes all < to < which generally seems to be enough to keep a
browser from ever introducing any HTML/script hacks in my cell value
as something that can affect the browser's behavior.
Just wondering if this sort of hack is my best solution or whether
something more standardized is in place (though I figured setText()
was that standard, so not sure why it's not allowed here.)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.