Click Insert. Repeat these steps until all of the table columns have been Click OK.

6-18 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server

3. Select the Resource - Dynamic Table Hda Format option.

4. Enter the file name for the resource file. The default path and file name is resourcescomponentname_resource.hda. ■ If a resource file has been created for dynamic tables, you can append the new table code to the existing file by selecting the file name. Any changes you make to the load order now will apply to the entire resource file. ■ To create a new resource file with a different file name, enter the file name. 5. If you want the new resource file to be loaded in a particular order, enter the number in the Load Order field.

6. Click Next.

The Add Dynamic Resource Table Information Screen is displayed. 7. Enter a name for the dynamic table. It is a good idea to leave the name of the component as a prefix.

8. To merge the new table with an existing table, select Merge To, and select a table

from the list.

9. Click Finish.

■ If you selected a table to merge to, a dialog box asks if you want to launch the text editor to continue editing. ■ If you did not select a table to merge to, the Column Information Screen is displayed. a. Enter a column name in the Column Name field.

b. Click Insert. Repeat these steps until all of the table columns have been

entered.

c. Click OK.

A dialog box asks if you want to launch the text editor to continue editing.

10. Click Yes to open the resource file in the text editor. Click No to return to the

Component Wizard. The resource file now appears in the Custom Resource Definition list, and the table appears in the right pane of the Resource Definition tab.

6.3.2.8 Creating a Static Table Resource

Use the following procedure to create a static table resource using the Component Wizard.

1. In the Component Wizard, open the component for which the resource will be

created.

2. On the Resource Definition tab, click Add.

The Add Resource Screen is displayed.

3. Select the Resource - Static Table HTML Format option.

Note: Unless you have a particular reason for the resource file to be loaded after other resources, you should leave the load order set to 1. Managing Components 6-19 4. Enter the file name for the resource file. The default file name is componentname_resource.htm. ■ If a resource file has been created for static tables, includes, or strings, or both, you can append the static table code to the existing file by selecting the file name. Any changes you make to the load order now will apply to the entire resource file. ■ To create a new resource file with a different file name, enter the file name. 5. If you want the new resource file to be loaded in a particular order, enter the number in the Load Order field.

6. Click Next.

The Add Static Resource Table Information Screen is displayed. 7. Enter a name for the static table. It is a good idea to leave the name of the component as a prefix.

8. To merge the new table with an existing table, select Merge To, and select a table

from the list.

9. Click Finish.

■ If you selected a table to merge to, a dialog box asks if you want to launch the text editor to continue editing. ■ If you did not select a table to merge to, the Column Information Screen is displayed. a. Enter a column name in the Column Name field.

b. Click Insert.