7.6. Hands On: NoteTaker Events and Forms
After many chapters laying the groundwork, we've now got some useful widgets. In this session on the NoteTaker tool, we'll clean out some of the oddments the dialog box has accumulated and replace them with normal XUL form elements. We'll get rid of the properties file and submit the entered data to a Web server. If the dialog box appears as the result of an HTTP GET request, we'll populate it with parameters from that request as well.
Cleanup comes first. We'll throw away the subpanel attribute and the handle_click() code. If we still choose to disable any of the content, it now makes sense to use the form tags' own disabling features. That means all the broadcasters and half of the actions and keys ...
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.