Thank you for reporting this bug. We will make it our priority to review this report.
  1. #51
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    38
    Vote Rating
    0
    dstarr@allofe.com is on a distinguished road

      0  

    Default


    Ext.view.AbstractView
    *emptyText: Has the note that deferEmptyText needs to be set to true if the data is locally loaded for emptyText to be shown. This isn't the case.

  2. #52
    Sencha User 44gatti's Avatar
    Join Date
    Jul 2009
    Location
    Somew(h)ere in Rome
    Posts
    26
    Vote Rating
    0
    44gatti is on a distinguished road

      0  

    Default API DOCS for Component, xtype for ProgressBar is 'progressbar' not 'progress'

    API DOCS for Component, xtype for ProgressBar is 'progressbar' not 'progress'


    API DOCS for Component, xtype for ProgressBar is 'progressbar' not 'progress'
    http://docs.sencha.com/ext-js/4-0/#/api/Ext.Component

    the duration of frame effect is in millisecs, not in seconds
    http://docs.sencha.com/ext-js/4-0/#/api/Ext.Element-method-frame
    Last edited by 44gatti; 30 Jun 2011 at 3:31 PM. Reason: small bug

  3. #53
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    Dallas, TX
    Posts
    204
    Vote Rating
    2
    Justin Noel is on a distinguished road

      0  

    Default Incorrect MVC Architecture Bug

    Incorrect MVC Architecture Bug


    Please see : http://www.sencha.com/forum/showthre...n-Architecture

  4. #54
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    Dallas, TX
    Posts
    204
    Vote Rating
    2
    Justin Noel is on a distinguished road

      0  

    Default


    No JSON example of http://dev.sencha.com/deploy/ext-4.0.../xml-form.html

    The XML example says:

    For a similar example using JSON rather than XML, see the JSON Form example
    Unfortunately, there is no such demo.

    Since this is the ONLY form on the entire demo site that ACTUALLY submits a form, it sure would be nice to have a working JSON example.

  5. #55
    Sencha User renku's Avatar
    Join Date
    Feb 2009
    Location
    Estonia
    Posts
    437
    Vote Rating
    17
    renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold

      0  

    Default


    Sorry for so little feedback in this thread. Thanks to everybody for reporting, it's been a great help in making the docs better.

    The bugs mentioned so far have mostly been fixed, remaining issues have been noted.

    Things are getting better, but a lot of holes in the docs still remain, so keep these posts coming

  6. #56
    Sencha Premium Member
    Join Date
    Nov 2009
    Posts
    92
    Vote Rating
    3
    tomb@ibcos.co.uk is on a distinguished road

      0  

    Default


    On Ext.form.field.ComboBox the following are private and shouldn't be.... they are really useful methods.

    Code:
        /**
         * Find the record by searching for a specific field/value combination
         * Returns an Ext.data.Record or false
         * @private
         */
        findRecord: function(field, value) {
            var ds = this.store,
                idx = ds.findExact(field, value);
            return idx !== -1 ? ds.getAt(idx) : false;
        },
        findRecordByValue: function(value) {
            return this.findRecord(this.valueField, value);
        },
        findRecordByDisplay: function(value) {
            return this.findRecord(this.displayField, value);
        },

    I've also added an extra very useful method

    Code:
    Ext.override(Ext.form.field.ComboBox, {
    	getSelectedRecord: function() {
    		return this.findRecordByValue(this.getValue());
    	}
    });

  7. #57
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    55
    Vote Rating
    0
    bodyboarder20 is on a distinguished road

      0  

    Default


    Please include documentation re: the ability to use "named" arguments for Ext.Direct via the use of the "params" attribute for the method description in the API.

    This can be done by fully documenting Ext.direct.RemoteMethod and exposing its documentation....

    Also, paramsAsHash might also provide insight that it is necessary to specific your params explicitly in your API if you want the params to be sent as a hash properly.

    For example, if you specify paramsAsHash as true, but DONT specify the params in your API, then what will get send to the server is a single element array containing the hash of values..... rather than just the hash.....

  8. #58
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    379
    Vote Rating
    39
    halcwb has a spectacular aura about halcwb has a spectacular aura about

      0  

    Default Should not constructor always return this?

    Should not constructor always return this?


    As I understand every object in Javascript has a constructor property, that refers to the constructor function of that object. So if I just create the most simple object like:

    PHP Code:
    var temp = {};
    var 
    temp2 temp.constructor({name'temp2'});
    console.log(temp2); 
    So now I have a second object temp2 with a property name = 'temp2'. This is because the constructor function returns an new instance of temp, applying the config object. However, this code will not work:

    PHP Code:
    var temp = {};
    temp.constructor = function () { alert('I am not a constructor anymore')};
    var 
    temp2 temp.constructor({name'temp2'});
    console.log(temp2); 
    Should not any override of constructor return the object? I refer to the documentation of Ext.Base:

    PHP Code:
    Ext.define('My.own.A', {
        
    constructor: function(test) {
            
    alert(test);
        }
    });

    Ext.define('My.own.B', {
        
    extend'My.own.A',

        
    constructor: function(test) {
            
    alert(test);

            
    this.callParent([test 1]);
        }
    });

    Ext.define('My.own.C', {
        
    extend'My.own.B',

        
    constructor: function() {
            
    alert("Going to call parent's overriden constructor...");

            
    this.callParent(arguments);
        }
    });

    var 
    = new My.own.A(1); // alerts '1'
    var = new My.own.B(1); // alerts '1', then alerts '2'
    var = new My.own.C(2); // alerts "Going to call parent's overriden constructor..."
                             // alerts '2', then alerts '3' 

  9. #59
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    379
    Vote Rating
    39
    halcwb has a spectacular aura about halcwb has a spectacular aura about

      0  

    Default Example does not run

    Example does not run


    This example directly copy pasted from the api doc of the class system does not work:

    PHP Code:
    Ext.define('My.own.Window', {
       
    /** @readonly */
        
    isWindowtrue,

        
    config: {
            
    title'Title Here',

            
    bottomBar: {
                
    enabledtrue,
                
    height50,
                
    resizablefalse
            
    }
        },

        
    constructor: function(config) {
            
    this.initConfig(config);

            return 
    this;
        },

        
    applyTitle: function(title) {
            if (!
    Ext.isString(title) || title.length === 0) {
                
    alert('Error: Title must be a valid non-empty string');
            }
            else {
                return 
    title;
            }
        },

        
    applyBottomBar: function(bottomBar) {
            if (
    bottomBar && bottomBar.enabled) {
                if (!
    this.bottomBar) {
                    return 
    Ext.create('My.own.WindowBottomBar'bottomBar);
                }
                else {


                    
    this.bottomBar.setConfig(bottomBar);
                }
            }
        }
    });

    var 
    myWindow Ext.create('My.own.Window', {
        
    title'Hello World',
        
    bottomBar: {
            
    height60
        
    }
    }); 
    I get a TypeError: c is not a constructor error.

  10. #60
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    379
    Vote Rating
    39
    halcwb has a spectacular aura about halcwb has a spectacular aura about

      0  

    Default Where is Api for Ext.form.FormPanel

    Where is Api for Ext.form.FormPanel


    I cannot find the api documentation for Ext.form.FormPanel. Yet, if I check Ext in for example firebug, Ext.form.FormPanel does still exist.

    Ha, found it Ext.form.FormPanel is an alias for Ext.form.Panel

Thread Participants: 168

  1. Lod (1 Post)
  2. mystix (3 Posts)
  3. Juanito (1 Post)
  4. GArrow (1 Post)
  5. adarsh_r_bhat (2 Posts)
  6. pbb72 (2 Posts)
  7. rex.staples (1 Post)
  8. rednix (1 Post)
  9. hendricd (1 Post)
  10. dogomatic (1 Post)
  11. richard.allen (1 Post)
  12. ValterBorges (4 Posts)
  13. cnelissen (1 Post)
  14. neshaug (1 Post)
  15. richardtallent (1 Post)
  16. Hemlock (2 Posts)
  17. pbienick (3 Posts)
  18. mankz (8 Posts)
  19. rstuart (1 Post)
  20. Ant1105 (1 Post)
  21. NOSLOW (1 Post)
  22. crysfel (1 Post)
  23. carl23934 (1 Post)
  24. zombeerose (19 Posts)
  25. Allwise (1 Post)
  26. themightychris (1 Post)
  27. SamuraiJack1 (1 Post)
  28. wildfire (1 Post)
  29. Qtx (4 Posts)
  30. wiznia (3 Posts)
  31. Greendrake (1 Post)
  32. charleshimmer (1 Post)
  33. chdig (1 Post)
  34. Jaitsu (1 Post)
  35. Dumas (1 Post)
  36. janhov (3 Posts)
  37. edspencer (7 Posts)
  38. firefoxSafari (1 Post)
  39. cstrong@arielpartners.com (1 Post)
  40. renku (75 Posts)
  41. westy (1 Post)
  42. slemmon (3 Posts)
  43. gevik (10 Posts)
  44. bodyboarder20 (4 Posts)
  45. ZachG (3 Posts)
  46. kleins (1 Post)
  47. campersau1 (5 Posts)
  48. 44gatti (1 Post)
  49. batweasel (1 Post)
  50. fguest (1 Post)
  51. drogers (1 Post)
  52. wsi (1 Post)
  53. ironandsteel (1 Post)
  54. McQuack_82 (1 Post)
  55. Uberdude (1 Post)
  56. hhangus (3 Posts)
  57. hexawing (4 Posts)
  58. chinabuffet (2 Posts)
  59. Ozone (2 Posts)
  60. tomb@ibcos.co.uk (5 Posts)
  61. olivierpons (1 Post)
  62. flanders (2 Posts)
  63. wufpack_jack (1 Post)
  64. devtig (1 Post)
  65. aghextjs (1 Post)
  66. WBX (1 Post)
  67. alonweiss (4 Posts)
  68. yakovsh (1 Post)
  69. gianmarco (3 Posts)
  70. halcwb (5 Posts)
  71. ykey (1 Post)
  72. korax (1 Post)
  73. zerkms (2 Posts)
  74. keithhackworth (2 Posts)
  75. eliotik (1 Post)
  76. h.wagner@telekom.de (1 Post)
  77. nosferatum (2 Posts)
  78. wbutler (1 Post)
  79. dancha (1 Post)
  80. Jan (HL) (2 Posts)
  81. touchy (1 Post)
  82. charris (2 Posts)
  83. Allan Stark (1 Post)
  84. vadimv (7 Posts)
  85. rhamflett (1 Post)
  86. Evantan (4 Posts)
  87. kent78 (1 Post)
  88. jhummel (1 Post)
  89. fishbone (1 Post)
  90. skirtle (35 Posts)
  91. LesJ (43 Posts)
  92. mangotang (2 Posts)
  93. Felicitus (1 Post)
  94. tiger.seo (3 Posts)
  95. clearbasis (1 Post)
  96. sreeser (1 Post)
  97. Rob Hogan (3 Posts)
  98. SebTardif (6 Posts)
  99. mberrie (4 Posts)
  100. rijkvanwel (1 Post)
  101. s.busch (1 Post)
  102. Nickname (4 Posts)
  103. dstarr@allofe.com (4 Posts)
  104. m4dc4p (1 Post)
  105. fdp (2 Posts)
  106. SommerEngineering (1 Post)
  107. mprogr (1 Post)
  108. Berzzzebub (2 Posts)
  109. Justin Noel (2 Posts)
  110. S├ębastien.Volle (2 Posts)
  111. sskow200 (1 Post)
  112. jobjo (1 Post)
  113. cadror (2 Posts)
  114. c089 (2 Posts)
  115. ligaard (29 Posts)
  116. neonova (2 Posts)
  117. jonathanmv (1 Post)
  118. nbabinski (4 Posts)
  119. Vasiliy Faronov (2 Posts)
  120. mrobinson (1 Post)
  121. ext-spring-mvc (1 Post)
  122. rexmpetersen (1 Post)
  123. BillHubbard (5 Posts)
  124. redraid (1 Post)
  125. Arshak (2 Posts)
  126. espeak (1 Post)
  127. Farish (2 Posts)
  128. nohuhu (1 Post)
  129. dwarf (1 Post)
  130. burnnat (12 Posts)
  131. don@electionmall.com (1 Post)
  132. sirtmp (1 Post)
  133. Jasel_ExtJS (1 Post)
  134. dusek (1 Post)
  135. bioinfo (1 Post)
  136. dpaquin (1 Post)
  137. nhoward (1 Post)
  138. Wilkins (1 Post)
  139. flatbugz (1 Post)
  140. tonyx (1 Post)
  141. eirik.lorentsen (1 Post)
  142. limscoder (1 Post)
  143. ExtJSNinjas (2 Posts)
  144. castitas (7 Posts)
  145. nealtao (1 Post)
  146. mark0978 (7 Posts)
  147. olecom (2 Posts)
  148. JimSoper (1 Post)
  149. hnordt (1 Post)
  150. WingC (2 Posts)
  151. cawoodm (1 Post)
  152. jchristen (1 Post)
  153. carrollecc (1 Post)
  154. p33t (5 Posts)
  155. user ext (1 Post)
  156. JeromeA (1 Post)
  157. mikfreeman (1 Post)
  158. DrewM (1 Post)
  159. Lascaux (1 Post)
  160. einartg (2 Posts)
  161. colin.yates (1 Post)
  162. atomcat (1 Post)
  163. Ghostly (2 Posts)
  164. bomslang (1 Post)
  165. wayne_x (1 Post)
  166. mpost (1 Post)
  167. jreusser (1 Post)
  168. ckerth (1 Post)