This file provides a summary of corrections and updates made since the product was packaged for final release. These changes apply to the print (and, in most cases, the online) version of the book. The page numbers correspond to the print manual, and may not match the page numbers in the PDF version. In the HTML and PDF versions, you can search to find the appropriate section.
Add the following lines just before the last statement in the
run()
method:
This step should read:
Add the following lines just before the last six statements in the
run()
method:
<enhydra_root>/doc/books/getting-started/samples/TableCode.java
into your application’s presentation directory and rename it
SimplePresentation.java
. This code populates an HTML table,
replacing a template row in the HTML with an array of data from the code.
TableCode.java
uses a deprecated method, writeHTML()
which should be replaced by the writeDOM()
method. Line 55 of
TableCode.java
reads:
comms.response.writeHTML(simple.toDocument());
This line should read:
comms.response.writeDOM(simple);
In the lower left panel, select the
root
folder, then choose Edit|Package. Type the name of this application,simpleApp
, in the dialog box, then press Enter.
The package name should be in all lowercase letters. This line should read:
In the lower left panel, select the
root
folder, then choose Edit|Package. Type the package name for this application,simpleapp
, in the dialog box, then press Enter.
All subsequent references to the package name and the associated directory structure should reflect this change. This affects pages 66, 68, and 69.
Replace double quotes (") with single quotes (').
This step is not necessary.
Step 1 of the instructions on page 68 should be preceded by the following step:
Enter
make clean
to remove all the existing classes.
After rebuilding the application, the subsequent SimplePresentation PO should now display a table with data from the Disc table, as shown below.
Artist | Title | Genre | I Like This Disc |
---|---|---|---|
Deep Sea Blues | Felonious Monk Fish | Jazz | Yes |
Lovely Spines | Funky Urchin | Techno | Yes |
Shark Attack | Stinky Pups | Rock | Yes |
Copyright © 2000, 2001 by Lutris Technologies Inc. All rights
reserved.
The Lutris and Enhydra logos, Enhydra XMLC, Enhydra Enterprise, and
InstantDB are trademarks or registered trademarks of Lutris Technologies, Inc.
All other trademarks, trade names or company names referenced herein are used
for identification only and are the property of their respective
owners.