1. #21
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    691
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    I found out little bit more.

    Its because the Record bject changed from 2.2 to 3.0 and now has some function the patch was for.

    now functions exist by default with no parameter "record" which Ext.ux.data.BindMgr function expect, like:
    afterEdit
    afterCommit

  2. #22
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    691
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Thumbs up


    Works for me if i remove the
    PHP Code:
    if('function' !== typeof Ext.data.Record.prototype.afterEdit) { 
    condition because in 3.0 its true because afterEdit exists, but the following overrides are needet that BindMgr works

  3. #23
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,518
    Vote Rating
    376
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I haven't ported it to 3.x yet. You could help with posting the complete code (or contact me via skype:jsakalos). I'd test it and publish it then.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  4. #24
    Ext User
    Join Date
    Feb 2010
    Location
    Brno
    Posts
    14
    Vote Rating
    0
    morlok_is_back is on a distinguished road

      0  

    Default Ext 3.x repair

    Ext 3.x repair


    hi, i have problem whit BindMgr, my solution is set reference on BindMgr to record :
    Code:
    record.bindMgr = this;
    record.afterEdit = record.afterEdit.createSequence(this.afterEdit, record);
    record.afterReject = record.afterReject.createSequence(this.afterReject, record);
    record.afterCommit = record.afterCommit.createSequence(this.afterCommit, record);
    and in handlers:
    Code:
    ...
    ,afterEdit:function() {
            var mgr = this.bindMgr; // mgr is stored in record
            var id = mgr.idOf(this); // this is record
            if(id) {
                for(var p in mgr.bounds[id].components) {
                    if(mgr.bounds[id].components.hasOwnProperty(p)) {
                        var c = mgr.bounds[id].components[p];
                        mgr.callMethod('afterEdit', this, c);
                    }
                }
            }
        } //eo function afterEdit
    ...
    For me this solution working.

  5. #25
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,518
    Vote Rating
    376
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Thank you for posting the code.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  6. #26
    Ext User
    Join Date
    Jun 2010
    Posts
    13
    Vote Rating
    0
    Lobo is on a distinguished road

      0  

    Default compatible with ExtJs 3.2.1 ?

    compatible with ExtJs 3.2.1 ?


    Hi,

    I am using ExtJs 3.2.1.

    I have two questions:

    + is BindMgr the best way to bind components and records in ExtJs 3.2.1?.

    + is BindMgr compatible with ExtJs 3.2.1?.

    Thanks!

  7. #27
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,518
    Vote Rating
    376
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    If you really need various components bound to one record then BindMgr is very good. If you only need, for example, to edit a record with a form then it is overkill.

    BindMgr contains Ext.data.Record override that was written for Ext 2.x so this override would need revision for use with Ext 3.x.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  8. #28
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    14
    Vote Rating
    0
    kiener@glauxsoft.com is on a distinguished road

      0  

    Default


    Hi.

    Does BindMgr also work with ExtJS 4.x or does a similar helper exists?
    We found a site using some sort of binding (see http://blog.dnet-ebusiness-suite.com...grid-form.html) and I was wondering if we could do something similar with BindMgr.

    Thanks.

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..."