![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
In TIBCO Forms, you can configure the resource keys in the Property Resource Bundles or .properties files. You can override the values of the existing resource keys, and also add new resource keys. Such customizations may be necessary for:
•
• Adding a new .properties file that is automatically added to all the forms in a project, or to all the projects in a workspace
The .common sub-folder is hidden by default. To display it, you need to disable the .*resources Project Explorer filter.The entries in your <custom>.properties file are compared with the existing entries in the default common.properties file. If a resource key already exists in the default file, its value in the <custom>.properties file is used in the merged bundle. If the resource key is not in the default common.properties file, it is added to the new merged file.Figure 113 illustrates the merging process.Figure 113Merging Process
1. Figure 114 Creating a New Properties FileThe New File dialog appears.
2. Figure 115 The New File Dialog
3. In the new .properties file, type the resource entries that you wish to add or override.Figure 116 Sample Resource Entries
4. Do one of the following to specify the new common resources bundle in the Common Properties of the Form Designer:
a.
b. Figure 117 The Project Properties Dialog
You can also specify the properties file at the workspace level from this dialog. To do that, click the Configure Workspace Settings link.When opened this way, the dialog shows filtered options, and it only shows the Form Designer and Common Properties file.
c. Select the Enable project specific settings check box.
d. The Pick Resource dialog opens.Figure 118 The Pick Resource Dialog
f. In the Properties view > Resources tab, the URI field shows that the common properties resource is now overridden.
a. The Preferences dialog opens.Figure 119 The Common Properties Preference Page
b.
You can also specify the properties file at the project level from this dialog. To do that, click the Configure Project Specific Settings link.In the Project Specific Configuration dialog, selecting the project name opens the Preferences dialog for that project.
c.
e.
• Creating the missing common.properties file
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |