Ajax features

All the CFML ajax/client side tags are considered deprecated in Lucee and are only provided for minimal backwards compatibility.

They aren't extensible and there are far better modern, javascript alternatives available.

Here are some (older) examples of how to replace these tags with javascript https://static.raymondcamden.com/cfuitherightway/index.html



  • AjaxOnLoad() Causes the specified JavaScript function to run when the page loads.
  • RestDeleteApplication() Deletes an existing REST mapping.
  • RestInitApplication() Registers the directory path with the service mapping provided. If no service mapping is provided, the application name is used. If the rest application is already registered, it is refreshed.
  • RestSetResponse() Sets the custom responses.


  • <cfcalendar> The tag ` ` is not supported by Lucee.
  • <cfformgroup> The ` ` tag is not supported by Lucee.
  • <cfformitem> The ` ` tag is not supported by Lucee.
  • <cfgrid> The ` ` tag is not supported by Lucee.
  • <cfgridcolumn> The ` ` tag is not supported by Lucee.
  • <cfgridrow> The ` ` tag is not supported by Lucee.
  • <cftextarea> The ` ` tag is not supported by Lucee.
  • <cftree> The ` ` tag is not supported by Lucee.
  • Ajax: Bind syntax Most of the tags support a binding statement in the url or source attributes. The following syntax is supported.
  • REST Services: Introduction ## Lucee and REST Services ## This documentation shows how to setup and configure Lucee Server to serve REST (Representation State Transfer). ### 1. Introduction ### REST is an application architecture which defines stateless data transfer over networked services. In the context of the web REST is commonly implemented over HTTP as it is a RESTful protocol
  • Websocket gateway ### WebSockets Gateway Extension ### This extension enables you to launch a server that is capable to manage messaging from HTML WebSockets. The server runs on a dedicated port. Lucee will receive notifications when a connection is opened, closed and any time a message is sent invoking a cfc listener class. The gateway can also being invoked via SendGatewayMessage so to allow your app to push message to all the connected clients


  • <cfajaximport> Controls the JavaScript files that are imported for use on pages that use Luceex AJAX tags and features.
  • <cfajaxproxy> Creates a JavaScript proxy for a component, for use in an AJAX client. Alternatively, creates a proxy for a single CFC method, JavaScript function, or URL that is bound to one or more control attribute values.
  • <cfform> Builds a form with CFML custom control tags that provide more functionality than standard HTML form input elements (XML and Flash type not supported).
  • <cfinput> Used inside cfform to place radio buttons, checkboxes, or text boxes. Provides input validation for the specified control type.
  • <cfmap> This are provided for backwards compatibility, and should be considered deprecated These tags are quite limited and difficult to extend, it's recommended to use a modern javascript mapping API instead.
  • <cfmapitem> Used with <cfmap>, this tag lets you add markers on the map. This tag is deprecated
  • <cfselect> Used inside cfform, cfselect lets you construct a drop-down list box form control. You can populate the drop-down list box from a query, or using the option tag. Use option elements to populate lists. The syntax for the option tag is the same as for its HTML counterpart.
  • <cfslider> Used inside cfform, cfslider lets you place a slider control in a CFML form. A slider control is like a sliding volume control. The slider groove is the area over which the slider moves.

See also