When a resource is opened in the RD Traveler Editor, the Content Type of the resource is determined by looking at the current low level Qualifier to see if it contains the values "COBOL" or "JCL". If one of these values is found, the Editor is configured to display the resource using the corresponding Content Type. If neither of these values are found, the resource is displayed using a basic Text content type. (NOTE: The rules for determining the Content Type of the current resource are currently being reviewed based on user feedback. We will post the updated set of rules when they are available.)
If a resource is not located in a low level Qualifier containing the value "COBOL" or "JCL", yet the resource really does contain COBOL or JCL content, you can easily change the configured Content Type using the options found under the "wrench" icon in the upper right hand corner of the Editor:
(Click on the wrench to configure RD Traveler Editor Settings)
Clicking on this icon displays the following menu:
(RD Traveler Editor Settings menu)
The RD Traveler Editor Settings menu is broken down into two categories, which are separated by a horizontal line; 1) Editor Preferences, which include the options displayed above the line, and 2) Editor Properties, which include the options displayed below the line. The difference between Preferences and Properties is that Preference values are saved for the current browser, and will affect all editor instances opened from within the same browser, while Property values only affect the current editor instance, and will be reset to the default values if the editor is refreshed.
To change the Content Type of the current editor, simply choose a different content type from the options displayed in the list, which currently include; COBOL, JCL, and TEXT. After the selection is made, the editor content, including the outline view and related tool bars, will be re-rendered using the selected content type. It is worth noting that you cannot change the Content Type of the current editor if it contains unsaved changes. If the editor is "dirty", a message will be displayed when a new content type is selected, indicating that the content type can not be changed.
In addition to the Content Type setting, the Editor Settings menu also provides a Read Only setting, which can be used to reduce the risk of modifying a file that is not marked as read only by default. If the file cannot be modified by the current user, the Read Only flag will appear as checked and disabled in the Editor Settings menu when the menu is displayed.
In the future, Editor Properties should be managed by RD Traveler, so that the configured values are available on any device. For now, the ability to change the Content Type as necessary should make it possible to work on a resource without having to modify the low level qualifier or copy the resource into a different low level qualifier.