10.9. Hands On: NoteTaker Dialogs

In this “Hands On” session, we'll take advantage of the windowing aspects of XUL to clean up the NoteTaker Edit dialog box some more. We'll also coordinate the application window and the Edit dialog window a little so that they work together. These two items consist of a number of tiny jobs:

1.
Replace <window> with <dialog> in the Edit dialog box.
2.
Replace plain <button> handlers with <dialog> button handlers.
3.
Implement the notetaker-open-dialog command on the main browser window so that window.openDialog() is used to display the Edit dialog box.
4.
Implement the notetaker-close-dialog command.
5.
Find and implement a strategy for handling data that is used by more than one window.
6.
Work out what kind of ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.