Hybrid View

    You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default Ext 3 to 4 Migration

    Ext 3 to 4 Migration


    This thread is not for general Ext 4 bugs! It is for collecting Ext 3 to 4 migration discussion and issues in one place, including:
    • Issues in the Ext 4 Overview Guide
    • Issues in the Ext 3 to 4 Migration Guide
    • Issues or missing overrides in the Ext 3 compatibility file
    • Discussion about migrating specific code from 3 to 4

    Migration Resources:
    If you find anything while migrating that is not covered in any of the above, please post it here.

  2. #2
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    331
    Vote Rating
    58
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    Can we expect a .jsb2 file or something similar in future releases of Ext 4? I looked in the first public release but couldn't find one. It seems this is particularly important for users of Spket because it wants to parse the .jsb2 file to discover candidates to participate in code completion. I've found Spket to be great for Ext 2-3, but please let us know if .jsb2 is no longer included because I might have to find a different editor or craft my own .jsb file...

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2007
    Location
    Norway
    Posts
    3
    Vote Rating
    0
    tore.kjorsvik is on a distinguished road

      0  

    Default


    This may not be the correct forum, but I second firefoxSafaris request.
    If there is any other way to make Spket code completion work, or there is an easy way to make the jsb-file myself, I would appreciate any feedback.

  4. #4
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    331
    Vote Rating
    58
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    I saw no adapters included in ext-4.0-pr1 like had been in 2 and 3. Could we get an official word on whether these will be included in the final release? If not, are there any anticipated issues with, for example, jquery and ext-js on the same page?

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    The final release will include the standard JSB as always.

    Adapters are no longer supported, as mentioned in the overview guide. Any other libraries should be perfectly usable alongside Ext, and that will work even better now that Ext no longer modifies base JS prototypes.

  6. #6
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    331
    Vote Rating
    58
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    Quote Originally Posted by brian.moeskau View Post
    The final release will include the standard JSB as always.

    Adapters are no longer supported, as mentioned in the overview guide. Any other libraries should be perfectly usable alongside Ext, and that will work even better now that Ext no longer modifies base JS prototypes.
    Excellent. Good news - thanks for the prompt response.

    Just out of curiosity before the jsb file is available, does anyone at Ext use Spket and if so does it work ok with 4?

  7. #7
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    331
    Vote Rating
    58
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    Quote Originally Posted by brian.moeskau View Post
    The final release will include the standard JSB as always.
    I downloaded the final release today but didn't really see a .jsb file. Am I missing it? Is there a different direction that Ext is going with the build process now?

  8. #8
    Sencha User ovillemain's Avatar
    Join Date
    Sep 2011
    Location
    France
    Posts
    3
    Vote Rating
    0
    ovillemain is on a distinguished road

      0  

    Default Compatibility mode + Combobox with PageSize = Error

    Compatibility mode + Combobox with PageSize = Error


    Pagination in combobox is impossible with compatibility layer ("ext3-compat.js").


    Firefox > Firebug says :
    Code:
    + TypeError: config.store is undefined
    ext-all-dev.js (ligne 49276)
    > me.callParent([config]);
    Chrome > Developer Tools says :
    Code:
    Uncaught TypeError: Cannot set property 'pageSize' of undefined (ext3-compat.js)

    HTML file :
    Code:
    <html><head>
      <script type="text/javascript" src="https://mydomain/path/ext-4.2.1.883/ext-all-dev.js"></script>
      <script type="text/javascript" src="https://mydomain/path/ext-4.2.1.883/compatibility/ext3-core-compat.js"></script>
      <script type="text/javascript" src="https://mydomain/path/ext-4.2.1.883/compatibility/ext3-compat.js"></script>
      <link rel="stylesheet" type="text/css" href="https://mydomain/path/ext-4.2.1.883/resources/css/ext-all.css" />
      <script type="text/javascript" src="https://mydomain/path/getusers.js"></script>
    </head>
    <body>
      <div id="mydiv"></div>
    </body>
    </html>
    JS file "getusers.js" :
    Code:
    Ext.onReady(function() {
      Ext.create('Ext.form.field.ComboBox', {
        pageSize     : true, // <== throws error if "true" and use of "ext3-compat.js" on dropdown
        valueField   : 'id',
        displayField : 'name',
        store        : {
          fields   : ['id', 'name'],
          proxy    : {
            type   : 'ajax',
            url    : 'https://mydomain/path/getusers.php',
            reader : {
              type : 'json',
              root : 'users'
            }
          },
          pageSize : 5
        },
        renderTo : 'mydiv'
      });
    });
    That works without "ext3-compat.js", or if there is no pagination with combobox.

Similar Threads

  1. Migration to 3.0
    By tillda in forum Community Discussion
    Replies: 5
    Last Post: 17 Aug 2009, 7:19 AM
  2. Migration to 2.0
    By scaswell1 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 7 Jul 2009, 9:56 PM
  3. migration 1.0 to 3.0
    By alien3d in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 1 Jun 2009, 5:38 AM
  4. Migration GXT 1.2.4 to 2.0
    By G.edwin in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 15 May 2009, 6:26 AM

Thread Participants: 110

  1. aconran (1 Post)
  2. mystix (1 Post)
  3. ap (2 Posts)
  4. evant (1 Post)
  5. ethraza (1 Post)
  6. steffenk (5 Posts)
  7. brookd (4 Posts)
  8. dherbolt (2 Posts)
  9. tore.kjorsvik (1 Post)
  10. wm003 (2 Posts)
  11. stevil (4 Posts)
  12. vlads (3 Posts)
  13. paubach (1 Post)
  14. BuckBazooka (1 Post)
  15. dbraiden (1 Post)
  16. mjhaston (1 Post)
  17. demon222 (1 Post)
  18. SToto98 (1 Post)
  19. rebe (1 Post)
  20. zombeerose (6 Posts)
  21. rich02818 (3 Posts)
  22. sg707 (3 Posts)
  23. vpopa (1 Post)
  24. hschaefer123 (3 Posts)
  25. jchau (1 Post)
  26. chrisvensko (1 Post)
  27. DannyMeister (3 Posts)
  28. dajester2008 (1 Post)
  29. mschwartz (4 Posts)
  30. wgpubs (4 Posts)
  31. LisburnLad (2 Posts)
  32. edspencer (3 Posts)
  33. firefoxSafari (9 Posts)
  34. Luckyman (3 Posts)
  35. oniram88 (1 Post)
  36. danguba (7 Posts)
  37. cnesbit (2 Posts)
  38. Jangla (1 Post)
  39. MuadDib-DK (1 Post)
  40. abctenorio@gmail.com (1 Post)
  41. uzver (3 Posts)
  42. zhangt (2 Posts)
  43. peet (3 Posts)
  44. ZachG (3 Posts)
  45. yyogev (7 Posts)
  46. pcr (4 Posts)
  47. 大漠穷秋 (1 Post)
  48. jacurry (4 Posts)
  49. excyberlabber (6 Posts)
  50. dongryphon (3 Posts)
  51. Henrik Rutzou (1 Post)
  52. hazimdikenli (1 Post)
  53. paparent85 (1 Post)
  54. Ekambos (3 Posts)
  55. burnie (1 Post)
  56. aaronbartell (1 Post)
  57. mattgoldspink (1 Post)
  58. dbrin (1 Post)
  59. CraigMyers (1 Post)
  60. Francois Lecroart (5 Posts)
  61. BulletzBill (1 Post)
  62. tumbochka (1 Post)
  63. a.l (2 Posts)
  64. c.darmon (8 Posts)
  65. Dipish (1 Post)
  66. blex2010 (2 Posts)
  67. kpalser (1 Post)
  68. ldonofrio (2 Posts)
  69. DHainzl (6 Posts)
  70. MrSparks (2 Posts)
  71. rebeccapeltz (1 Post)
  72. Jeremy Solarz (1 Post)
  73. RLBruggers (2 Posts)
  74. Ourysso (1 Post)
  75. jjohnston (1 Post)
  76. ShaneMc (9 Posts)
  77. msmolyak (1 Post)
  78. watermark (1 Post)
  79. lukefowell89 (3 Posts)
  80. winkelmann (1 Post)
  81. willjohnathan (1 Post)
  82. cayenne_08 (1 Post)
  83. SebTardif (3 Posts)
  84. mberrie (3 Posts)
  85. rijkvanwel (1 Post)
  86. george4voc (1 Post)
  87. Jehu (2 Posts)
  88. freeranger (4 Posts)
  89. Inoc (1 Post)
  90. eCoast (1 Post)
  91. dstarr@allofe.com (3 Posts)
  92. bee (2 Posts)
  93. /mbr (3 Posts)
  94. ptraczynski (1 Post)
  95. qqjianyue (1 Post)
  96. jmf10024 (1 Post)
  97. Reggae (2 Posts)
  98. wimh (1 Post)
  99. jas88 (1 Post)
  100. Roho (1 Post)
  101. lokisapocalypse (1 Post)
  102. ovillemain (1 Post)
  103. Flashmattic (2 Posts)
  104. testnina123 (1 Post)
  105. jlimaye (2 Posts)
  106. rivanov (1 Post)
  107. usha.basavaraju (1 Post)
  108. rageshp_moxie (2 Posts)
  109. er_abhisinha (1 Post)
  110. darkwata (2 Posts)