cfform Work-around

There was some discussion on cf-talk today about getting cfform to work with CFMX for J2EE. The problem is that the cfform.js file does not get loaded properly. The work-around is to do one of the following three things:

  1. Copy the cfform.js file out of the CFIDE/scripts directory into some directory in your webroot and use the scriptSrc attribute of the cfform tag to reference it.
  2. Create a symbolic link in your webroot that points to to the cfform.js file in the CFIDE/scripts directory (Unix only) and reference it using the scriptSrc attribute of the cfform tag.
  3. Create a mapping in the administrator to the cfform file.

Comments are closed.