1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    12
    Vote Rating
    0
    Himansu is on a distinguished road

      0  

    Default Answered: EXTJS4 not have EXT.reg() method.

    Answered: EXTJS4 not have EXT.reg() method.


    I am migrating extjs3 code to extjs4.I found that extjs3 have ext.reg() method but it is not available in extjs4. how can we resolve this problem. Please help us, Thanks in advance.

  2. This is all handled within Ext.define now. Ext.reg has been replaced by the alias property:

    Code:
    Ext.define('MyClassName', {
        extend : 'Ext.Component',
        alias  : 'widget.myclass'
    });
    text is red is the xtype you would normally put into Ext.reg

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,652
    Vote Rating
    901
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This is all handled within Ext.define now. Ext.reg has been replaced by the alias property:

    Code:
    Ext.define('MyClassName', {
        extend : 'Ext.Component',
        alias  : 'widget.myclass'
    });
    text is red is the xtype you would normally put into Ext.reg
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread