D.Bugger
D.Bugger

Reputation: 2359

XPages: how to convert all pass-through rich text in a Notes document to HTML

I have this Notes document, maintained in Notes but displayed in a browser through XPages. The document contains a rich-text field. The rich-text contains some pass-thru HTML (< h r > for example, it works), but it also contains an iframe that is somehow filtered out.

Does anyone know more about this, to be more specific: does anyone know how to set XPages to produce all pass-thru HTML?

Upvotes: 0

Views: 535

Answers (1)

Oliver Busse
Oliver Busse

Reputation: 3395

if the problem is the filtering of the iframe then just set the property htmlFilter of your richtext control to "identity". That switches off all content filtering.

<xp:inputRichText id="inputRichText1"
                    value="#{document1.postBody}" htmlFilter="identity"
                    htmlFilterIn="identity">
</xp:inputRichText>

Upvotes: 4

Related Questions