1. #11
    Sencha User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    606
    Answers
    66
    Vote Rating
    26
    bluehipy will become famous soon enough bluehipy will become famous soon enough

      0  

    Default


    How exactly is the server responding?
    Latest thoughts on the subject: http://joy2share.com/senchatouch/

  2. #12
    Sencha User
    Join Date
    Jan 2013
    Posts
    19
    Vote Rating
    0
    ikean is on a distinguished road

      0  

    Default


    Request looks like:
    • Request URL:
      http://restserver.local/users/2
    • Request Method:
      GET
    • Status Code:
      200 OK


      and the Response with that is

      {"id":2,"email":"two@example.com","password":"222222","first_name":"User","last_name":"Two","phone_number":"1231231234","make":"Ford","model":"Fiesta","year":"2013","mileage":"10100"}

  3. #13
    Sencha User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    606
    Answers
    66
    Vote Rating
    26
    bluehipy will become famous soon enough bluehipy will become famous soon enough

      0  

    Default


    ikean,

    My tests on fiddle worked as expected, you can check here:

    http://www.senchafiddle.com/#LisBc
    Latest thoughts on the subject: http://joy2share.com/senchatouch/

  4. #14
    Sencha User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    606
    Answers
    66
    Vote Rating
    26
    bluehipy will become famous soon enough bluehipy will become famous soon enough

      0  

    Default


    Looking backward at your messages I think there is a misunderstanding.

    If you have this code:
    PHP Code:
    var modelInstance = new ModelClass(); //modelInstance.phantom === true ~ correct

    var modelInstance1 Ext.create"ModelClass"); //modelInstance1.phantom === true ~ correct

    var modelInstance3 =null;

    Ext.ModelManager.getModel('ModelClass').load(2,{ //
      
    success:function(recordoperation) {
          
    modelInstance3 record;  //modelInstance3.phantom === false ~ correct
      
    }
    }); 
    I hope it will help.
    Latest thoughts on the subject: http://joy2share.com/senchatouch/

  5. #15
    Sencha User
    Join Date
    Jan 2013
    Posts
    19
    Vote Rating
    0
    ikean is on a distinguished road

      0  

    Default


    Genuinely appreciate you experimenting with this in code, I've been aiming to find time to provide a working example as well.

    With that said, your example confuses me because it is contrary to the behavior I'm seeing. I agree your example showcases the correct behavior. In my case record.phantom is true on success.

    Does senchafiddle.com use Ext.js or Touch? I think that's an important distinction.

    Also, I'll test using a proxy that points to a file to see if it could be direct related to the Json reader. I'll post a followup about trying a direct-from-json-file proxy and see if the behavior changes.

  6. #16
    Sencha User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    606
    Answers
    66
    Vote Rating
    26
    bluehipy will become famous soon enough bluehipy will become famous soon enough

      0  

    Default


    That is a ST 2.0l1 but I don't expext the Model behavior to be diferent at that level in 2.1.1. especially when the code looks right in sources.

    Reader of other kind of Proxy might have some issues though I ll check the Rest code also.
    Latest thoughts on the subject: http://joy2share.com/senchatouch/

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi