0
votes

On an xpage I want to display the full content of a rich text field with help of the xp:inputTextarea control. How can I do this?

The content of the rich text is nothing more than text. There is no rich text content in the fields, so no attachments or formatted (html) text.

I have been able to bind the content of the rich text field to a String field in my java object but when I display it on my xpage via an input text area it gets formatted with so many
elements that does not represent the content of the rich text field.

Should I apply a convertor to the input textarea control and how should this look like? or can I use somehow the computed text control?

1
Since it's read only anyway, why not just use the xp:inputRichText control?Per Henrik Lausten
have you tried to set escape="false" ?umeli
have you tried just to use the xp:text ?umeli
I have tested the xp:inputRichText but then the new lines are being ignored.Malin

1 Answers

0
votes

Did you try just changing the display type to html? That is on the first tab.