Using Bindings

You have already seen examples of bindings: The Ajax-powered auto-suggest control and data grids both used bindings to refer to ColdFusion Component methods on the server.

Bindings can also be used on the client side, allowing one control to refer to, and interact with, other controls. Let’s look at some basic examples .

For full coverage of ColdFusion Ajax bindings, refer to Chapter 34.

We’ll start with yet another data grid, but one with an interesting twist. As shown in Figure 15.6, this new data grid has a <textarea> box alongside it, so that when a movie is selected in the grid, the detailed summary is displayed in the box on the right. This type of user interface obviously requires interaction between controls, and thus ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.