Troubleshooting

You choose an item from the New menu and get an error stating the stationery is not installed, with the dataDef name in parentheses.

Your viewDef isn't registered properly but the dataDef is (if the dataDef weren't, you'd get the dataDef symbol in parentheses rather than the dataDef name; see FIGURE 11.21). In order to display, the system gets all viewDefs registered for a given dataDef symbol and then retrieves the one whose symbol is default. Check the _viewdefs global to see that your viewDef is there and is registered using the correct dataDef symbol. Make sure you have at least one viewDef that has the viewDef symbol default.

FIGURE 11.21 : Missing stationery indication.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996