View comments | RSS feed
Contents > Developing ColdFusion MX Applications > Building Dynamic Forms > Embedding Java applets PreviousNext

Embedding Java applets

The cfapplet tag lets you embed Java applets either on a ColdFusion page or in a cfform. To use cfapplet, you must first register your Java applet using the ColdFusion MX Administrator Java Applets page (under Extensions). In the Administrator, you define the interface to the applet, encapsulating it so that each invocation of the cfapplet tag is very simple.

The cfapplet tag within a form offers several advantages over using the HTML applet tag:

When an applet is registered, you enter just the applet source and the form variable name:

<cfapplet appletsource="Calculator"
name="calc_value">

By contrast, with the HTML applet tag, you must declare all the applet's parameters every time you want to use it in a ColdFusion page.


Contents > Developing ColdFusion MX Applications > Building Dynamic Forms > Embedding Java applets PreviousNext

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.

Comments


Haley said on Nov 15, 2004 at 12:23 PM :
If the applet I'm using is not related to a form, what is the form name I use? Or this just an arbitrary name that values are passed to?

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/dynami30.htm