Working with Fusebox

You can use TerraForm in a Fusebox environnment. All that is necessary is to change two cf_terraform attributes. There are several ways you can provide these attributes:

  1. You can pass the correct attributes in your cf_terraform tag (probably not a very good approach but we'll include it for completeness).
    action="#request.self#?fuseaction=#attributes.fuseAction#"
    scope="attributes"
  2. You can include the attribute:
    settingspath = "terraform/settings_fusebox3.cfm"
    in your cf_terraform tag (useful if you have a mixture of Fusebox and non-Fusebox pages).
  3. You can set
    <cfset request.terraform = structnew()>
    <cfset request.terraform.settingspath = "terraform/settings_fusebox3.cfm">
    (and you can see that's what we've done here, setting it in fbx_settings.cfm).
  4. Or you can open your defaults.cfm and edit the attributes in there. This may be a good approach if you only create Fusebox apps.

Included here is a sample implementation using Fusebox 3. You will see that the form decision making has been placed in the example\fbx_switch.cfm file. Note also the frm_ prefix on the file containing the form itself. We find this notation convenient, but it is a matter of personal preference.

Techniques demonstrated