|
|
In Domino forms, you have the ability to enter text and use the Pass-Thru HTML feature to indicate that the text should be treated has HTML. One way to simulate the same behavior on an XPage is to use a computed field control.
1. Drag a computed field control to the XPage
2. In the computed field properties, select HTML as content type
3. In the Value tab of the computed field properties, select JavaScript and enter the HTML text as a string in the Script Editor
You can also include JavaScript in the HTML by using the script tag:
This is useful when you need to specify the document domain to avoid cross-domain issues with iframes in an XPage. |