Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #71
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    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


    Here is my override, you don't need to re-invent the wheel. However, please check the code, I've written it long ago, you may find some bugs or improvements:
    PHP Code:
    // additional methods of paging toolbar
    // {{{
    Ext.override(Ext.PagingToolbar, {

        
    // enable toolbar elements
        
    enable: function(disable) {
            
    // setup variables
            
    disable disable true false;
            var 
    this.getPageData();
            var 
    ap d.activePage;
            var 
    ps d.pages;

            
    // mask/unmask
            
    if(disable) {
                
    this.getEl().mask();
            } 
            else {
                
    this.getEl().unmask();
            }

            
    this.first.setDisabled(!disable ap === disable);
            
    this.prev.setDisabled(!disable ap === disable);
            
    this.next.setDisabled(!disable ap === ps disable);
            
    this.last.setDisabled(!disable ap === ps disable);
            
    this.field.dom.disabled disable;
            
    this.loading.disabled disable;
            
    this.loading.el.disabled disable;

            
    // an optional filter field
            
    if(this.filter) {
                
    this.filter.dom.disabled disable;
            }
            if(
    this.plugins instanceof Array) {
                
    Ext.each(this.plugins, function(p) {
                    
    p.setDisabled(disable);
                });
            }
        }

        
    // disable toolbar components
        
    disable: function() {
            
    this.enable(true);
        }

        , 
    reload: function() {
            
    this.store.load({params: {startthis.cursorlimitthis.pageSize}});
        }

    });
    // }}} 
    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


  2. #72
    Ext User
    Join Date
    Apr 2008
    Posts
    4
    Vote Rating
    0
    indrajit_bin_rahwana is on a distinguished road

      0  

    Default [scope or bug ?] this.idName

    [scope or bug ?] this.idName


    Hai Jozef,
    Is there something about scoping in callback ?
    PHP Code:
            // original 
                
    case 'saveData':
                    var 
    records this.store.getModifiedRecords();
                    
    Ext.each(records, function(ri) {
                        if(
    o.insertIds && o.insertIds[i]) {
                            
    r.set(this.idNameo.insertIds[i]);  // this.idName = 'undefined'                          
                            
    delete(r.data.newRecord);
                        }
                    });
                    
    this.store.commitChanges();
                break;

    // modified
                
    case 'saveData':
                    var 
    records this.store.getModifiedRecords();
                    var 
    idname this.idName;
                    
    Ext.each(records, function(ri) {
                        if(
    o.insertIds && o.insertIds[i]) {
                            
    r.set(idnameo.insertIds[i]);  // idname works fine
                            
    delete(r.data.newRecord);
                        }
                    });
                    
    this.store.commitChanges();
                break; 
    regards,

    Indrajit

  3. #73
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    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


    Bug. But it has already been corrected (on April 11). It reads now:
    PHP Code:
        ,commitChanges:function() {
            var 
    records this.store.getModifiedRecords();
            if(!
    records.length) {
                return;
            }
            var 
    data = [];
            
    Ext.each(records, function(ri) {
                var 
    r.getChanges();
                if(
    r.data.newRecord) {
                    
    o.newRecord true;
                }
                
    o[this.idName] = r.get(this.idName);
                
    data.push(o);
            }, 
    this);
            var 
    = {
                 
    url:this.url
                
    ,method:'post'
                
    ,callback:this.requestCallback
                
    ,scope:this
                
    ,params:{
                     
    cmd:'saveData'
                    
    ,objName:this.objName
                    
    ,data:Ext.encode(data)
                }
            };
            
    Ext.Ajax.request(o);
        } 
    // eo function commitChanges 
    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. #74
    Sencha User concep86's Avatar
    Join Date
    Dec 2007
    Posts
    51
    Vote Rating
    0
    concep86 is on a distinguished road

      0  

    Default


    Risking seriously bodily injury...

    Can I ask you Saki to post an example using a simple data store... like one of the extjs examples....

    I have been looking at your example and just cant get it to work...


    P.S. i love your plugins....

  5. #75
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    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  
    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. #76
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    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


    Hi all!

    RecordForm Beta 2 is out.

    The new feature added is row highlighting for new records and dirty (edited) records.

    Don't forget to hard reload the page, caching is set to 3 days.

    Cheers,
    Saki
    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


  7. #77
    Ext User
    Join Date
    Mar 2007
    Location
    Nashville, TN
    Posts
    112
    Vote Rating
    0
    cobnet is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    Resetting the busy indicator is job to be done in the event handler when returning false. I've chosen another approach: I've extended paging toolbar adding enable/disable methods that mask/unmask it and disable controls. Whenever there are dirty records on the page I disable paging toolbar so user has either to submit or reset.
    This does not seem to work in latest Beta2? Using IE7. I changed the Industry field on the last record of the first page. It does highlite as dirty record, however paging toolbar is not disabled?

  8. #78
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    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


    Disabling paging toolbar is not part of this plugin.
    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


  9. #79
    Ext User
    Join Date
    Mar 2007
    Location
    Nashville, TN
    Posts
    112
    Vote Rating
    0
    cobnet is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    Disabling paging toolbar is not part of this plugin.
    Thanks for the reply! I will dig-in and see what else is not part of the plugin. I definitely understand the KISS idea and think that all plugins need to follow this logic, but if a plugin needs added features it would be nice to know this from the download page?

    On another note: if a user is to edit a record by clicking an edit button, one would think when they are finished editing and click the appropriate "SAVE", "FINISH" or whatever button that their editing would be saved?

    I can see where a developer would know the many different options available for saving a record, however sometimes our applications are working with not so knowledgeable users. The KISS idea is to "SAVE" when finished editing, right or wrong?

    I am not giving you trouble with your work, I definitely appreciate you taking the time to show how this idea of editing a record with an auto-generated form can be done. Great idea, there are many situations where one wants to have fields that are not part of the current grid to be available on an "ADD NEW RECORD" or "EDIT" form. But trying to explain to an end-user why their 10 minutes of editing was not saved can be fun!

    I know this is just a base-code example and the developer should modify the coding to serve their appropriate application. We are all looking for something that does not require us to do anything but cut and paste the code and it works from there on, lol. This is a dream world after all.

    After all this typing, a new idea came up, maybe a simple "HELP", "ABOUT" or "FAQ" button could help the end-user understand why their editing was not saved, or what additional steps are needed for the record to be saved? Maybe this new button could be standard for all plugins. Something for the EXT team to ponder about?

    First off it could give credit where credit is due, to the author of the plugin. Next it could detail the version of the plug: "ALPHA", "BETA", whatever. Where to goto for help, details, etc. This last part probably should not be posted directly at your plugin, but I am just throwing up ideas.

    Please don't take this wrong, I would not waste may time if I did not think that this plugin was worth the effort.

  10. #80
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    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


    Quote Originally Posted by cobnet View Post
    Thanks for the reply! I will dig-in and see what else is not part of the plugin. I definitely understand the KISS idea and think that all plugins need to follow this logic, but if a plugin needs added features it would be nice to know this from the download page?

    On another note: if a user is to edit a record by clicking an edit button, one would think when they are finished editing and click the appropriate "SAVE", "FINISH" or whatever button that their editing would be saved?

    I can see where a developer would know the many different options available for saving a record, however sometimes our applications are working with not so knowledgeable users. The KISS idea is to "SAVE" when finished editing, right or wrong?
    Record is saved. To store. Plugin cannot save it to server. You can listen to store datachange event and send it to server yourself.

    I am not giving you trouble with your work, I definitely appreciate you taking the time to show how this idea of editing a record with an auto-generated form can be done. Great idea, there are many situations where one wants to have fields that are not part of the current grid to be available on an "ADD NEW RECORD" or "EDIT" form. But trying to explain to an end-user why their 10 minutes of editing was not saved can be fun!

    I know this is just a base-code example and the developer should modify the coding to serve their appropriate application. We are all looking for something that does not require us to do anything but cut and paste the code and it works from there on, lol. This is a dream world after all.

    After all this typing, a new idea came up, maybe a simple "HELP", "ABOUT" or "FAQ" button could help the end-user understand why their editing was not saved, or what additional steps are needed for the record to be saved? Maybe this new button could be standard for all plugins. Something for the EXT team to ponder about?

    First off it could give credit where credit is due, to the author of the plugin. Next it could detail the version of the plug: "ALPHA", "BETA", whatever. Where to goto for help, details, etc. This last part probably should not be posted directly at your plugin, but I am just throwing up ideas.

    Please don't take this wrong, I would not waste may time if I did not think that this plugin was worth the effort.
    You see, I won't add any more user-visible controls to this plugin. If you need them you need to add them yourself.
    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


Thread Participants: 97

  1. franklt69 (1 Post)
  2. Wolfgang (1 Post)
  3. mystix (1 Post)
  4. cobnet (8 Posts)
  5. chiphi13 (4 Posts)
  6. mike1993 (1 Post)
  7. violinista (1 Post)
  8. hui2008 (4 Posts)
  9. AlxH (12 Posts)
  10. oracio (1 Post)
  11. CINUE (2 Posts)
  12. phpcoder (3 Posts)
  13. ostghost (2 Posts)
  14. tdikarim (4 Posts)
  15. lkasdorf (3 Posts)
  16. derf (1 Post)
  17. mjlecomte (11 Posts)
  18. farracha (1 Post)
  19. jcwatson11 (2 Posts)
  20. robin30 (8 Posts)
  21. bluesapphire (1 Post)
  22. wm003 (1 Post)
  23. divxer (1 Post)
  24. escalade (2 Posts)
  25. boonkerz (5 Posts)
  26. JamesC (2 Posts)
  27. neenhouse (5 Posts)
  28. mask_hot (18 Posts)
  29. concep86 (2 Posts)
  30. sinma (2 Posts)
  31. kai5263499 (2 Posts)
  32. jcmartinez (1 Post)
  33. trak (1 Post)
  34. amit.shukld (1 Post)
  35. hsurya (1 Post)
  36. richgoldmd (1 Post)
  37. loic (7 Posts)
  38. jimpa911 (1 Post)
  39. chalu (3 Posts)
  40. damian79 (1 Post)
  41. jimkan (6 Posts)
  42. jahong (7 Posts)
  43. winnel (1 Post)
  44. joku (1 Post)
  45. josephf (2 Posts)
  46. indrajit_bin_rahwana (4 Posts)
  47. nojutsu (2 Posts)
  48. pokerking400 (15 Posts)
  49. georgiosleon (2 Posts)
  50. snilson (2 Posts)
  51. nightowl (1 Post)
  52. gthe (1 Post)
  53. descheret (1 Post)
  54. nebbian (2 Posts)
  55. se7en.hu (1 Post)
  56. towanime (2 Posts)
  57. pravidya (4 Posts)
  58. cnagel (2 Posts)
  59. extnam01 (2 Posts)
  60. Rothariger (6 Posts)
  61. dsmaevich (1 Post)
  62. uidtest (2 Posts)
  63. savant (4 Posts)
  64. aserron (1 Post)
  65. skaue (1 Post)
  66. ielektronick (1 Post)
  67. kalpan (4 Posts)
  68. jasonb885 (2 Posts)
  69. wemerson.januario (1 Post)
  70. extjs_new (23 Posts)
  71. Dumas (24 Posts)
  72. m.natarajan (1 Post)
  73. MrEnirO (4 Posts)
  74. jove76 (2 Posts)
  75. CircleCode (3 Posts)
  76. mdimino (7 Posts)
  77. flinz (2 Posts)
  78. vince (2 Posts)
  79. jmaldini (5 Posts)
  80. mixer80 (1 Post)
  81. prox00 (1 Post)
  82. macdoug1 (14 Posts)
  83. return1.at (8 Posts)
  84. islabucasgrande (1 Post)
  85. big (1 Post)
  86. NicP (9 Posts)
  87. taron133 (1 Post)
  88. araiczyk (1 Post)
  89. adhoul (1 Post)
  90. mayurid (9 Posts)
  91. Kalpit (10 Posts)
  92. bizcatalyst (1 Post)
  93. Manuelbond007 (2 Posts)
  94. nasargus (1 Post)
  95. shahab_et (1 Post)
  96. stevwinata (5 Posts)
  97. tomdchi (2 Posts)