Skip to content
raulriera edited this page May 10, 2011 · 17 revisions

Welcome to the Remote-Form-Helpers wiki:

This plugin will enable some forms (and views) helpers to use jQuery’s AJAX (not included in the plugin) capabilities.

Installation

As Wheels takes control over the installation of plugins via the Plugin Manager, we will assume you went ahead and used that, now all you need to get your Controller’s actions AJAXifed is to do this simple steps:

  1. Copy from the /plugins/adapters/ the file you wish to use to your /javascripts folder and import that file into your application.
  2. Add the following line in your `config/settings.cfm` file:
    <cfset addFormat(extension=“js”, mimeType=“text/javascript”)>
  3. Add remote=“true” argument to your `linkTo`, `buttonTo` and `startFormTag` to enable AJAX requests on them.

Docs

For some quick documentation and sample code of the, please visit the Functions section. After you are familiarized with the code, please refer to some advanced functionality like Callbacks

Clone this wiki locally