Topic: Question on persistence

Hi
have been playing with a widget that requires persistence of user entered data. Had a look at the Wiki page which seems to explain how its done but had some problems.

I started by creating an XML object call db which stored my data - that0 works fine.

Next I save my data using db.sendAndLoad(_root._chumby_instance_url)  which doesnt raise any obvious errors but I think fails

Then I restore my data using db.Load(_root._chumby_instance_url) - the resulting information is an XML structure that hold the Widget information - name, channel etc.

So I am thinking that I am either using incorrect URL or that my data needs to be appended to the Widget data e.g. Load, Append and Send.

Is this correct or have I got it completely wrong.

Any help appreciated.

cheers

Nigel

   smile   smile   smile