| Contents > Developing ColdFusion MX Applications > Integrating J2EE and Java Elements in CFML Applications > About ColdFusion, Java, and J2EE > About ColdFusion and client-side JavaScript and applets |
|
|
|
|
||
ColdFusion pages, like HTML pages, can incorporate client-side JavaScript and Java applets. To use JavaScript, you write the JavaScript code just as you do on any HTML page. ColdFusion ignores the JavaScript and sends it to the client.
The cfapplet tag simplifies using Java client-side applets.
cfapplet tag to call the applet. The appletSource attribute must be the Applet name assigned in ColdFusion MX Administrator.For example, ColdFusion includes a Copytext sample applet that copies text from one text box to another. The ColdFusion Setup automatically registers the applet in the Administrator. To use this applet, incorporate it on your page. For example:
<cfform action = "copytext.cfm"> <cfapplet appletsource = "copytext" name = "copytext"> </cfform>
|
|
||
| Contents > Developing ColdFusion MX Applications > Integrating J2EE and Java Elements in CFML Applications > About ColdFusion, Java, and J2EE > About ColdFusion and client-side JavaScript and applets |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/java3.htm