Chapter 10: Building Dynamic Forms
CFFORM Controls (Continued)
Control
CFTREE and
CFTREEITEM
CFTEXTINPUT
CFSELECT
CFAPPLET
Improving performance with ENABLECAB
The CFFORM ENABLECAB attribute allows you to improve the performance of Java-
applet based CFFORM controls. When you use ENABLECAB, ColdFusion prompts the
end user to accept a download of the Java classes needed for the CFFORM controls that
use them. CAB files are digitally signed using VeriSign digital IDs to ensure file security.
Note
Browsers that disable Java
Since each of the Java applet-based controls, CFGRID, CFSLIDER, CFTEXTINPUT, and
CFTREE require a Java applet to run, browsers that do not support Java or that have
disabled Java execution will not execute the forms that contain these controls. Using
the NOTSUPPORTED attribute, ColdFusion allows you to present an error message
rather than the blank applet space that appears in the browser. This attribute is
available in each of the Java applet-based controls as well as the CFAPPLET tag. You
use NOTSUPPORTED to specify the message you want to appear, formatted as HTML,
when an application page is loaded by a browser that does not support Java.
Description
Java applet-based controls used to define a tree control and
individual tree control items.
A Java applet-based control used to define a text input box.
Used to define a drop-down list box.
Used to embed your own Java applets.
The ENABLECAB attribute is supported only for MS Internet Explorer
clients that have Authenticode 2.0 installed. Authenticode 2.0 can be
downloaded from
http://www.microsoft.com/Windows/ie/security/
authent2.asp.
125
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?