APPLICATION DESIGN


Using HTML on a page, form, or subform
There are a number of ways you can include HTML on a page, form, or subform when you are designing. If you have existing HTML or you prefer to use HTML instead of the formatting tools IBMR LotusR Domino(TM) Designer offers, you have the following options:
To convert pages, forms, or subforms into HTML

You can convert some or all of the contents of a page, form, or subform into HTML source code and then use the HTML editor to make changes to the HTML source code.

1. Open a page, form, or subform in Designer.

2. Select the contents of the page, form, or subform that you want to convert to HTML.

3. Choose Edit - Convert to HTML. The selected contents are converted into HTML source code.


4. To use the HTML editor, place the cursor anywhere in the newly created HTML source code and choose View - HTML pane.
5. You can edit the HTML source code in the bottom pane. Click Refresh to see the results in the top pane of your HTML changes.

6. Press ESC to exit from the HTML editor.

7. (Optional) To convert the HTML to an IBMR LotusR NotesR format, place the cursor anywhere in the HTML source code in the top pane and choose Edit - Convert to Notes Format.


To import HTML

To import HTML you must first save it as a file that you can access.

1. Open a page, form, or subform.

2. Choose File - Import.

3. Select the file containing the HTML you want to import and click OK. Designer translates the HTML and then adds it to the page, form, or subform.

To paste HTML

1. Select the content you want to paste from the source of an existing Web page, form, or subform.

2. Copy the content to the clipboard.

3. Open a page, form, or subform.

4. Choose Edit - Paste.

5. Open the Properties box for the page, form, or subform (Design - <design element> Properties).

6. At the Info tab, check "Render pass through HTML in Notes."

To enter HTML directly on a page, form, or subform

1. Open a page, form, or subform.

2. Enter the HTML directly on the page, form, or subform.

3. Open the Properties box for the page, form, or subform (Design - <design element> Properties).

4. At the Info tab, check "Render pass through HTML in Notes."

When you check "Render pass through HTML in Notes," IBMR LotusR Domino(TM) passes all data on the page, form, or subform directly to the browser. Domino ignores embedded navigators and folders and any embedded views that don't have "Render pass through HTML in Notes" selected.

To include some HTML on a page, form, or subform

If you do not want the entire page, form, or subform treated as HTML, you can include some HTML on the page, form, or subform and mark this text as HTML. Designer serves it correctly to the browser.

1. Enter or paste HTML on the page, form, or subform.

2. Select the text and choose Text - Pass-Thru HTML.

Note Pages, forms, or subforms containing pass-thru HTML may display differently in the Notes client than on a browser. For example, if you create nested tables by using pass-thru HTML, the table may contain more white space when displayed in the Notes client than when displayed in a browser.

See Also