1. #11
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,684
    Vote Rating
    435
    Answers
    3111
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    As I said, it will be back in Controller meaning it's not there.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  2. #12
    Sencha User
    Join Date
    Apr 2011
    Posts
    34
    Vote Rating
    0
    Answers
    1
    GFI_SI is on a distinguished road

      0  

    Default


    I'm finding it hard to understand what you're saying.

    I've not put it in my controller or the functionality to use 'views: ' has been removed from controllers and will be coming back in a future release?

  3. #13
    Sencha User
    Join Date
    Apr 2011
    Posts
    34
    Vote Rating
    0
    Answers
    1
    GFI_SI is on a distinguished road

      0  

    Default


    in my view I've added :

    Code:
        requires : [
            'MyApp.view.Login', 
            'MyApp.view.Profile',
            'MyApp.view.Settings'
        ],
    and changed

    Code:
    { xtype: 'MyApp.view.Settings', title: 'Settings', iconCls: 'settings' }
    to

    Code:
    { xclass: 'MyApp.view.Settings', title: 'Settings', iconCls: 'settings' }
    I have no idea why this works other than it's what is used in one of the bundled examples.

  4. #14
    Sencha User
    Join Date
    Apr 2011
    Posts
    34
    Vote Rating
    0
    Answers
    1
    GFI_SI is on a distinguished road

      0  

    Default


    *sigh*

    The problem now is my tab panel doesn't change tabs.

  5. #15
    Sencha User
    Join Date
    Apr 2011
    Posts
    34
    Vote Rating
    0
    Answers
    1
    GFI_SI is on a distinguished road

      0  

    Default


    Ok i got it working again

    Set the requires array in the view and in my settings view changed the alias (widget.settings) to xtype (settings).