1. #21
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    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
    690
    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,138
    Vote Rating
    321
    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.

  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,138
    Vote Rating
    321
    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.

  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,138
    Vote Rating
    321
    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.

  8. #28
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    4
    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.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar