Hi

I will create my own method for saving the data based on your suggestion.

One thing is not clear to me; do changes made in the model get sent back 
to the store automatically?

I am trying understand the data flow.  First the store gets the data 
from the remote source.  Using binding the data then gets sent to the 
model.  If I make changes to data in widgets I can have those changes 
saved in the model again using binding but is the store now out of sync 
with the model?

Is the model data separate from the store data (i.e. is there two copies 
of the data?).

Thanks,
Simon



On 22/09/2011 7:20 AM, Tino Butz wrote:
> Saving data via a service is not supported by the data stores.
>
> For more information, follow the following bug:
>
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2993
>
> When you want to listen on any update made in a certain model, you should use 
> the following Mixin:
>
> http://demo.qooxdoo.org/current/apiviewer/#qx.data.marshal.MEventBubbling
>
> e.g. our new VirutalTree is using this feature to update itself.
>
> This mixin defines an event "changeBubble", on that you can listen and update 
> your database by calling a service.
>
> Tino
>
>
> Am 21.09.2011 um 22:22 schrieb Simon White:
>
>> Hi
>>
>> I am looking for the documentation regarding saving data from my
>> application back to a database.
>>
>> Currently I can get data from the database into a JSON store and I have
>> the store bound to a virtual list's model.  I am able to display details
>> of the item selected in the list and changes made to the detail fields
>> are saved back in the model using data binding.
>>
>> The only part I cannot find is how to get the data sent back to the
>> database.
>>
>> Thanks,
>> Simon
>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy1
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> Tino Butz
> Mobile Architect
>
> 1&1 Internet AG - Web Technologies
> Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
> Telefon: +49 721 91374-4488
> [email protected]
>
> Amtsgericht Montabaur / HRB 6484
> Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Robert 
> Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
> Aufsichtsratsvorsitzender: Michael Scheeren
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to