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 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.