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. #21
    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


    Just to clarify... the "preview" release is not intended as a full, ready-to-migrate release. We mentioned up front that there were missing components and that the docs weren't complete, etc. etc. The goal is simply to show what kinds of changes there are in the new architecture and gather feedback on what's there currently. Once the first feature-complete beta is available, along with the migration guide and compatibility layer that are currently being worked on, the migration effort will go much better.

  2. #22
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,657
    Vote Rating
    5
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    Hi Brian,

    it would be cool if we would know when all components are in, or just a page where missing components are mentioned (stroke through if they are implemented)

    I would like to test with already existing app to see which issues arise. I already tested (with components should be in pr2) and the viewport isn't rendered at all, difficult to say why, as there is no js error at all.

    Maybe it's worth to throw exceptions if a component / class is called that is not present, would make the debug much easier.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  3. #23
    Sencha User
    Join Date
    Aug 2008
    Posts
    8
    Vote Rating
    0
    chrisvensko is on a distinguished road

      0  

    Lightbulb Ext.reg Exception Helper

    Ext.reg Exception Helper


    I know that Ext.reg has been deprecated, but it would be nice to update the exception to indicate which xtype is using Ext.reg.

    Code:
    reg: function(xtype, cls) {
      if (Ext.isDefined(window.console)) {
        console.warn('Using deprecated Ext.reg for the ' + xtype + ' xtype. Please use the alias configuration with the widget. namespace.');
      }
      Manager.setAlias(cls, "widget." + xtype); 
    }
    This would make it much easier to track down which xtypes are using the deprecated functionality during migration of an application.
    Last edited by chrisvensko; 27 Feb 2011 at 1:29 PM. Reason: Cleanup Code Block

  4. #24
    Sencha User
    Join Date
    Sep 2008
    Posts
    16
    Vote Rating
    0
    dajester2008 is on a distinguished road

      0  

    Default 'ref' config option not recognized in Ext4

    'ref' config option not recognized in Ext4


    The 'ref' config in Ext3 is not recognized in Ext4. In the API docs for Ext.AbstractComponent, under 'itemId', it gives a reference to see 'ref' and 'id'. I know this is nit-picking, but I only bring it up to get an idea whether or not this is actually planned for Ext4. This it is a very handy feature, and I would be very disappointed to see go away!

  5. #25
    Ext JS Premium Member
    Join Date
    Nov 2010
    Location
    Columbia, MD, USA
    Posts
    147
    Vote Rating
    0
    msmolyak is on a distinguished road

      0  

    Default


    I am getting an error message described above: 'Using deprecated Ext.reg. Please use the alias configuration with the widget. namespace.' Is there any documentation on how to use aliases in Ext JS 4?

    Thank you,

    Michael

  6. #26
    Sencha User Jehu's Avatar
    Join Date
    Feb 2011
    Posts
    24
    Vote Rating
    0
    Jehu is on a distinguished road

      0  

    Question


    Quote Originally Posted by msmolyak View Post
    I am getting an error message described above: 'Using deprecated Ext.reg. Please use the alias configuration with the widget. namespace.' Is there any documentation on how to use aliases in Ext JS 4?

    Thank you,

    Michael
    Same question here.

  7. #27
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,657
    Vote Rating
    5
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    is #23 too far away?
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  8. #28
    Sencha User Jehu's Avatar
    Join Date
    Feb 2011
    Posts
    24
    Vote Rating
    0
    Jehu is on a distinguished road

      0  

    Default


    Quote Originally Posted by steffenk View Post
    is #23 too far away?
    Jo, sieht ganz so aus...
    It seems...

  9. #29
    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


    Quote Originally Posted by chrisvensko View Post
    I know that Ext.reg has been deprecated, but it would be nice to update the exception to indicate which xtype is using Ext.reg.

    Code:
    reg: function(xtype, cls) {
      if (Ext.isDefined(window.console)) {
        console.warn('Using deprecated Ext.reg for the ' + xtype + ' xtype. Please use the alias configuration with the widget. namespace.');
      }
      Manager.setAlias(cls, "widget." + xtype); 
    }
    This would make it much easier to track down which xtypes are using the deprecated functionality during migration of an application.
    I've updated the (forthcoming) compatibility overrides for Ext.reg / preg (and their ComponentMgr counterparts) to include a more descriptive message that contains the type name being referenced. Thanks for the suggestion.

  10. #30
    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


    Quote Originally Posted by msmolyak View Post
    I am getting an error message described above: 'Using deprecated Ext.reg. Please use the alias configuration with the widget. namespace.' Is there any documentation on how to use aliases in Ext JS 4?

    Thank you,

    Michael
    Lots of migration docs in the works, please be patient just a bit longer...

    For this specific issue, it means to switch your class definition to something like this:

    Code:
    Ext.define('MyCustomClass', {
        extend: 'Ext.SomeOtherClass',
        alias: 'widget.mycustomclass', // <-- your custom xtype
        ...
    });
    Using this new pattern, Ext.reg('widget.mycustomclass', MyCustomClass) is no longer needed since it is now directly part of the class definition (hence the warning).

    For a plugin replace 'widget.' with 'plugin.'

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)