|Professional Services||Second Signal||Presentations||Andrew's Blog||Support|
There's a control missing from XPages in Beta 1. I honestly don't remember (if I was ever told) if its in the plan or not because I never thought to ask about it. I guess it never even occurred to me that it was missing until I tried building a version of this blogsite using XPages.
At present - speaking of Domino 8.5 Public Beta 1 - there is now way to drop a Rich Text control onto an XPage, bind it to a rich text field (e.g. BODY) on a document you've bound as a data source, and have it render the rich text as html on your page. If the Rich Text is stored as MIME, I think you can do this just fine. But most Rich Text isn't. Its stored in native notes CD records.
Sure, you could stick an IFRAME tag on there and load just the body in that way. You could call in agent code with an http request, pull the html, parse the "BODY" part out and then shove it onto the form. Both of those are bad alternatives.
For me to deploy, I'd have to convert thousands of documents from CDRECORD to MIME and store the rich text as mime.
This is what I need:
a) A rich text field control that will render the cdrecord data from the bound notesRichTextItem
b) A notesRichTextItem.renderToMIME() method that returns mime data which can then be displayed in a control.
What about you? How critical is this issue for your own use of XPages?
Please wait while your document is saved.