14.8. Hands On: NoteTaker Data Made Live

This “Hands On” session is about using templates to get real data into an application.

In this session, we'll replace some of our NoteTaker XUL code with templates and then test it out with real Web note data.

To begin with, we have the RDF data model of Chapter 12, Overlays and Chrome. Later on we'll put this file in the user's profile, where it belongs. For now, we'll just store it in the chrome with the rest of the NoteTaker tool. It will be in:

chrome://notetaker/contents/notetaker.rdf

Templates are needed three times in the NoteTaker tool:

  1. The form fields on the NoteTaker toolbar should be loaded with data from the current note. We'll see that this takes two templates.

  2. The listbox of keywords in ...

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

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