Use Applets to Enhance Applications

Applets are self-contained Java programs that can be used in your Domino-based Web applications to mimic Notes client functionality and create a more Notes client-like experience for Web users. Lotus has provided four pre-built applets (defined below) that you can use in your applications. Using them is fairly simple; however, you should keep in mind that the applets require download time and may make the initial page load time seem excessive.

The predefined applets are built with Java Developer's Kit (JDK), Release 1.1.8, to support Java-enabled Web browsers.


You can use four pre-built applets in your applications:

  • View applet— Enables Web users to interact with views much as they would with a Notes client. Mimics many of the traditional Domino view features, including column resizing, multiple document selection, and section collapse/expand without page regeneration.

  • Editor applet— Enables Web users to change the font, color, size, and style for text in rich text fields, which would be rendered as simple a <TEXTAREA> in pure HTML.

  • Action bar applet— Enables Web users to work with actions in a fixed area on the screen and to view and select subactions.

  • Outline applet— Enables Web users to easily work with outlines embedded in a page or form.

Using the View Applet

The view applet can be used for views and embedded views. To display a view on the Web by using the view applet, follow these steps:

1.
Open a view.

2.
Choose Design, View Properties, which opens the View properties box.

3.
Click the Advanced tab (fifth tab).

4.
Enable the Use Applet in the Browser setting in the For Web Access section.

5.
Optionally, configure other display properties.

6.
Save the view.

To display an embedded view using the view applet, follow these steps:

1.
Open a form or page that contains an embedded view.

2.
Right-click the embedded element and choose Embedded View to open the Embedded View properties box.

3.
On the info tab (first tab), in the Web Access field, choose from the following to specify how the view should be displayed:

  • Using Java Applet— Display view using view applet regardless of the view's setting.

  • Using HTML— The view applet is not used regardless of the view's setting.

  • Using View's Display Property— Use the view's setting to determine whether the view applet is or is not used.

4.
Optionally, configure other display properties.

5.
Save the view.

Using the Editor Applet

To use the editor applet to display a rich text field, follow these steps:

1.
Create or select a rich text field.

2.
Right-click the field and choose Field Properties from the menu to open the Field properties box.

3.
On the Field Info tab (first tab), enable Using Java Applet in the Display field of the Web Access section.

4.
Optionally, configure other display properties.

5.
Save the form.

Using the Action Bar Applet

To enable the action bar applet for Web users, follow these steps:

1.
Open the form that contains the action bar.

2.
Right-click the action bar and choose Action Bar Properties, which opens the Action Bar properties box.

3.
In the Action Bar Info tab (first tab), choose Using Java Applet in the Display field of the Web Access section.

4.
Optionally, configure other display properties.

5.
Save the form.

To disable the applet, repeat steps 1 and 2, then select Using HTML in the Display field of the Web Access Section. Save the form.

Using the Outline Applet

To enable the outline applet for Web users, follow these steps:

1.
Open a page or form containing an embedded outline.

2.
Right-click the embedded outline and choose Embedded outline, which opens the Embedded Outline properties box.

3.
On the Info tab (first tab), in the Web Access section, choose Using Java Applet.

4.
Optionally, configure the display properties.

5.
Save the page or form.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.137.213