The Verify Data Source screen shown in Figure 35.15 enables you to quickly verify any existing data source by clicking the name of the data source, or to verify all data sources by clicking the Verify All button. Figure 35.16 shows how the results are displayed when verifying all data sources at one time.
The Extensions section of the Administrator is used to increase register extensions to ColdFusion in the form of CFX custom tags (see Chapter 32, “Including External Objects”) and Java applets for use with the CFAPPLET tag. This is done through two screens:
Unlike custom tags created with ColdFusicn, CFX custom tags, which have been developed in a programming language such as Visual C++Delphi, must be registered in the Registered CFX Tags screen of the Administrator for them work. The screen is shown in Figure 35.17.
To add a tag, simply provide a name for it in the field; the name should start with CFX_.Then click the Add button. This causes the New CFXTag screen shown in to be displayed.
On this screen, you need to provide the name and path of the DELL file (called the Server Library) that was provided with the custom tag. You should not change the default value of the Procedure field unless the documentation for the tag indicates otherwise. The Keep
Library Loaded option, when enabled, causes the tag to be retained in memory to imp performance of the tag. Of course, with large numbers of custom tags It may not be Possible to maintain them all in memory. After you are finished configuring the tag, click the Add button. The tag will then appear in the list of CFX tags on the main Registered CFX Tags screen, where )’OUR can click the name of a tag to ColdFusion its configuration or delete it from the list. Applets
The Registered Applets screen shown in Figure 35.19 is used to register new applets for use with the CFAPPLETS tag.
tag allows the easy integration of lava applets into paves generated by ColdFusion. To add a new applet, provide the name of.the applet in the Applet field and click the Register New Applet button The Register New Applet screen will be displayed, ~s in
Figure 35 20
To register an applet, you need to provide all the information that would normally be
when using the applet with a standard APPLET tag. TIlls includes:
The URL of the directory containing the applet.
The filename of the applet. The extension is not needed.
Archive The filename of the ZIP archive of the applet for Microsoft
Method The name of a method in the applet that returns a string value. Can be left blank if there is none. nus is used to populate a form variable with the method’s value in your templates. –
The height in pixels used to display the applet.
The width in pixels used to display the applet.
The space above and below the applet in pixels.
The space on either side of the applet in pixels]
Alignment of the applet relative to the surrounding HIML text.
Not Supported Message A message to display on browsers that do not support Java. In addition to these values, you need to specify the parameters required by the applet and a default value for the parameter. This is done in the list of parameter and value fields at the bottom of the screen. After you provide all the necessary information, hit the Create button to create the entry. It will appear on the list of applets at the bottom of the main Registered Applets
screen. Click the name of the applet to edit or delete it from the list
The Logging section provides control over the way in which ColdFusion creates logs of its activities for the purposes of tracking activity and debugging problems. Logging is controlled through three screens:
• Mail Logging
• Log Files
The General Error Logging screen, shown in Figure 35.21, allows control over the basic log settings, including:
E-Mail The e-rnail add reds that should appear under each error message displayed for users. log Directory The directory where ColdFusion will store its log files.
Log Slow Pages
When enabled, pages that take longer than the specified number of
seconds to complete will be logged in the log file.
When enabled, some Cold Fusion log messages will be logged to
both the Cold Fusion log files and to the system logging facility. On Windows NT, this facility is the Event Log.