O'Reilly logo

JSF 1.2 Components by Ian Hlavats

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing dialog windows

Traditional desktop applications have access to a richer set of dialog windows than available to typical web browsers. While alert and confirm dialogs can be launched using JavaScript, it is impossible to render a more complex dialog box; for example, a color chooser dialog, using these built-in windows.

A common solution to this problem is to implement dialogs using floating windows. The Trinidad framework includes built-in support for creating custom dialog windows using this technique. These dialogs are Ajax enabled, and support convenient features such as the ability to pass the selected value back to the page that originally launched the dialog.

Tip

Dialog window display options

The examples in this chapter use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required