Troubleshooting

You open your application and get an error that stationery is not installed. The weird thing is that the New button works fine.

When the user chooses New, she or he is explicitly specifying the kind of data (either by choosing from one of several dataDefs via a New picker, or by specifying the one installed dataDef if New is a button). However, NewtApp will automatically create soup entries in some circumstances (for example, for an empty folder). In this case, the way NewtApp knows the kind of data is from the defaultDataType slot of newtSoup.

The problem is that you haven't provided a defaultDataType slot. It specifies the dataDef symbol to be used for default soup entries.


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

Last modified: 1 DEC 1996