Search Type: Posts; User: jroets

Search: Search took 0.01 seconds.

  1. Nope. At some point I was going to look at Sencha 2's data layer and see if the support is better.
  2. Ok. Very good. So I end up with a model definition that looks like this:



    Ext.regModel('Stock', {
    fields: [
    {name: 'id', type: 'int'},
    {name: 'symbol', type: 'string'},...
  3. How do I do this without associations. I think maybe I'm confused by the "fields" property on the Model. How can I assign a collection to a field? A "field" only seems to support types like 'int',...
  4. So I have a web service that returns a stock fund along with some price history. It's one endpoint; e.g. /Stocks/IBM. Let's say the json looks like this:



    {
    "symbol": "IBM",
    "name":...
  5. Using Sencha Touch's data classes, I have set up a Model and a Store. I have retrieved a collection into the store from a REST service. Next thing I want to do is sync changes back to the service,...
  6. Using Sencha Touch's data classes, I have set up a Model and a Store. I have retrieved a collection into the store from a REST service. Next thing I want to do is sync changes back to the service,...
Results 1 to 6 of 6