How can I display rtf file content in vaadin?

Hi guys,

How can I display rtf file content in vaadin? is there an example snippet?

Eric

Hi,

RTF is not directly supported by browsers (as far as I know), so you can’t just add it to the HTML and hope it’ll show up. Also, there is no Vaadin component that could display RTF, so it looks like you’re going to have to create your own solution. From what I’ve understood you have basically two options: either use some tool to convert the RTF to HTML on-the-fly, or use some existing component/plugin in the browser to render the RTF directly.

-tepi