APPLICATION DESIGN


Creating an embedded editor
You can embed an editor into a form. One use of the embedded editor is to let you embed one or more forms into an existing form. Another use of the embedded editor is targeting in which you link an embedded editor to an embedded view. Targeting allows the user to edit documents in a view without having to open separate windows.

You can do almost everything in an embedded editor that you can do in a document. However, you cannot include the following in an embedded editor: buttons, action hotspots, formula popup hotspots, computed text, or navigators. Note also that you should not use embedded editors in animated tables.

To create an embedded editor

1. Create a form or open an existing form.

2. In the form, place the cursor where you want to create the embedded editor.

3. Choose Create - Embedded Element - Editor. The Insert Embedded Form dialog box appears.

4. Choose one of the following options:

5. Choose Element - Editor Properties to open the Embedded Editor Properties box. Click the Info tab, and then set any of the following properties: To use an embedded editor for targeting

You can place one or more embedded views on a form and then link them to one or more embedded editors. This feature, called targeting, allows users to edit documents in a view without having to open separate windows.

1. Create a new form.

2. Choose Create - Embedded Element - Editor.

3. Select None in the Insert Embedded Form dialog box and click OK.

4. Choose Element - Editor Properties. The Embedded Editor Properties box opens.

5. Specify a name for the embedded editor and close the properties box.

6. Choose Create - Embedded Element - View. The Insert Embedded View properties box appears.

7. Choose a view and click OK.

8. Choose Element - View Properties. The Embedded View Properties box opens.

9. In the "Target Frame" (for single click) field, enter the name of the embedded editor that you want to link to. Close the properties box.

10. Save and close the new form.

11. Create a new document with the form.

12. Highlight a document in the embedded view. The document opens in the embedded editor. You can now edit that document in the embedded editor. You can then switch to another document in the embedded view and continue editing.