Since Adobe will no longer be supporting Flash Player after December 31, 2020 and Adobe will block Flash content from running in Flash Player beginning January 12, 2021, Adobe strongly recommends all users immediately uninstall Flash Player to help protect their systems.
For more information, see Flash Player End of Life announcement.
Ajax (Asynchronous JavaScript and XML) is a set of web technologies for creating interactive web applications. Ajax applications typically combine:
ColdFusion provides two types of Ajax features:
ColdFusion data and development features help you develop effective Ajax applications that use ColdFusion to provide dynamic data. They include many features that you can use with other Ajax frameworks, including Spry.
The following data and development features are important for use with form and layout tags:
Several ColdFusion user interface elements incorporate Ajax features. The tags and tag-attribute combinations can be divided into the following categories:
Tag/attribute |
Description |
---|---|
Container tags |
|
cfdiv |
An HTML div region that can be dynamically populated by a bind expression. Forms in this region submit asynchronously. |
cflayout |
A horizontal or vertical box, a tabbed region, or a set of bordered regions that can include a top, bottom, left, right, and center regions. |
cflayoutarea |
An individual region within a cflayout area, such as the display that appears in a tabbed layout when the user select a tab. Forms in this region submit asynchronously. |
cfpod |
An area of the browser window with an optional title bar and a body that contains display elements. Forms in this region submit asynchronously. |
cfwindow |
A pop-up window within the browser. You can also use the ColdFusion.Window.createWindow function to create a pop-up window. Forms in this region submit asynchronously. |
File management tags |
|
cffileupload |
A dialog for uploading multiple files from the user's system. |
Forms tags |
|
cfgrid format="html" |
A dynamic, editable, sortable, data grid. |
cfinput type="datefield" |
An input control that users can fill by selecting a date from a pop-up calendar. |
cftextarea richtext="yes" |
A text area with a set of controls that let users format the displayed text. |
cftree format="html" |
A dynamic tree-format representation of data. |
cfslider |
A slider control, for selecting a numeric value from a range, in a ColdFusion form. |
Menu tags |
|
cfmenu |
A menu bar or the root of a drop-down menu. |
cfmenuitem |
An individual item in a menu, or the root of a submenu. |
User assistance tags and attributes |
|
cfinput type="text" autosuggest="bind}}{{expression" |
A drop-down autofill suggestion box. As the user types, a list appears with completion suggestions based on the text the user has typed. |
cftooltip tag, and the tooltip attribute on cfinput, cfselect, cftextarea controls |
A textual description of a control or region that appears when the user hovers the mouse over the control or region. |
Other tags |
|
cfprogressbar |
A progress bar to indicate the progress of an activity such as a file download. |
cfmap |
A geographical map within a ColdFusion web page. |
cfmediaplayer |
An inbuild media player. |
cfmessagebox |
A control for displaying pop-up messages. |
In addition to the tags and attributes, ColdFusion provides many JavaScript functions that let you control and manage the display. Many functions control the display of specific tags. For example, you can use JavaScript functions to dynamically display and hide the window. There are also several utility tags, such as the ColdFusion.getElementValue function that gets the value of a control attribute, or the ColdFusion.navigate function that displays the results of a URL in a container tag. For a complete list of all ColdFusion Ajax JavaScript functions, and detailed function descriptions, see Ajax JavaScript Functions in the CFML Reference.
ColdFusion Ajax user interface features let you create data-driven pages that update dynamically without requiring multiple HTML pages or page refreshes or non-HTML display tools such as Flash forms. Many user interface features use data binding to dynamically get data based on other data values: form field values, form control selections, and selections in Spry data sets.
ColdFusion Ajax user interface controls and features can be divided into two major categories:
Inicia sesión en tu cuenta