It looks like that example has a bug (at least, the version I see in the lps-dev branch). There should be a declaration for the dataset named new just below the "phonebook" dataset declaration:

  <dataset name="new">
    <contact/>
  </dataset>

Then you can change "new" to "aa" by changing all three places it is referenced: in the declaration you just added, in the datapath attribute, and in the onclick method.

Hope this helps,

jim

ps This is filed as LPP-1284.

On Jan 3, 2006, at 5:24 AM, mt1 wrote:

Hi all
In the user's guide example 33.23, if i use the other datapath name,
something like
"aa:/contact", instead of "new:/contact", the debugger shows "couldn't
find dataset
for aa:/contact". Dose the "new:/" datapath special key word?

Thanks
m1
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to