APPLICATION DESIGN


Rich text fields on the Web
You have the following options for defining how a rich text field displays on the Web:
Displaying rich text in Web applications

When you are designing a Web application, the following options define how rich text displays in the browser:


To specify how to display rich text

1. Create a rich text field.

2. Choose Design - Field Properties.

3. On the Info tab, for "Web Access" select "Using HTML," "Using Java Applet," "Using Best Fit for OS," or "Using JavaScript Control."

Using the editor applet

Web users can do the following when using the editor applet in a rich text field:


Enabling the editor applet or JavaScript control

You can enable the editor applet in rich text fields only. To enable the editor applet:

1. Create or select a rich text field.

2. Choose Design - Field Properties.

3. On the Field Info tab, in the Web Access section, select "Using Java Applet" or "Using JavaScript Control."

When the editor applet becomes active, it displays as large as the Web browser's window. It is recommended that you resize it. The minimum size recommended is 300 by 500 pixels. To resize it:

4. In the Objects tab of the Info List in the Programmer's pane, select the rich text field.

5. Click HTML Body Attributes.

6. In the Script area, enter the height and width. For example:


If the same document is edited by both a Web browser and an IBM® Lotus® Notes® client, there are some additional caveats. For example, it is possible to format a document in the Notes client using a formatting feature that is not supported in the editor applet. Also, there are features that, once opened and edited in the editor applet, will subsequently not format properly if opened for editing in the Notes client. These are the formatting features to avoid if editing a document with both the Notes client and a Web browser:
In addition, any features that the editor applet cannot interpret are displayed as HTML in green on the document.

Note Make sure you test your design ahead of time on different browsers. Depending on the user's browser, there may be display problems.

Limitations of rich text fields on the Web

Rich text lite fields are not available on the Web. All rich text must be in a rich text field.

The following items may be lost or corrupted if they are in a rich text field which is edited with a Web browser using IBM® Lotus® Domino(TM) Web Server:


Avoid using these items in a rich text field if that field is to be edited with a Web browser.