Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2009
    Location
    Paris, FR
    Posts
    9
    Vote Rating
    0
    xcambar is on a distinguished road

      0  

    Default [FIXED][PR3] Ext.data.Model : method setProxy unknown

    [FIXED][PR3] Ext.data.Model : method setProxy unknown


    Hi,
    I'm trying to change the proxy of a model programmatically instead of specifying it through the configuration.

    So after digging through the docs, I've found out a documented method called 'setProxy'. After the necessary attempts, here's what I've come up with:

    Code:
    Ext.regModel('Test', {
        'constructor' : function() {
            this.callParent(arguments);
    //        this.setProxy(new Ext.data.Proxy());
            this.proxy = new Ext.data.Proxy(); // Worked
            return this;
        }
    });
    //Test.setProxy(new Ext.data.Proxy());
    
    
    var t = new Test();
    //t.setProxy(new Ext.data.Proxy());
    Though setting the property directly worked as expected, the commented methods calls always returned me the error
    "Object [object Object] has no method 'setProxy'".
    Did I do something wrong to get such an error ? To give a little more details, I'm running the PR3 and have actually found that setProxy method in Model.js, which has been quite a bit of a surprise!


    Thanks for your time and interest,

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,795
    Vote Rating
    602
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This should be resolved in the next release (after PR4).
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Location
    Paris, FR
    Posts
    9
    Vote Rating
    0
    xcambar is on a distinguished road

      0  

    Default


    Great!

    Thanks for all the hard work!

Similar Threads

  1. [FIXED]Ext.data.Model.destroy() missing
    By icflorescu in forum Ext:Bugs
    Replies: 5
    Last Post: 2 May 2011, 10:15 AM
  2. [FIXED]Bug in Ext.data.Model.setProxy()
    By n3rd in forum Ext:Bugs
    Replies: 1
    Last Post: 9 Mar 2011, 1:33 AM
  3. [2.1][FIXED] Ext.data.Record set method 's bug
    By siyuan in forum Ext 2.x: Bugs
    Replies: 7
    Last Post: 30 Nov 2010, 6:24 AM
  4. [FIXED-187] The model data become undefined.
    By taka_2 in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 14 Aug 2010, 5:18 AM
  5. [UNKNOWN][3.0.0] DataView selection model not mac-friendly.
    By jay@moduscreate.com in forum Ext 3.x: Bugs
    Replies: 0
    Last Post: 21 Aug 2009, 5:30 AM

Thread Participants: 1

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