-
24 Feb 2012 11:29 AM #11Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
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.
-
24 Feb 2012 11:39 AM #12
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?
-
24 Feb 2012 11:54 AM #13
in my view I've added :
and changedCode:requires : [ 'MyApp.view.Login', 'MyApp.view.Profile', 'MyApp.view.Settings' ],
toCode:{ xtype: '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.Code:{ xclass: 'MyApp.view.Settings', title: 'Settings', iconCls: 'settings' }
-
24 Feb 2012 11:58 AM #14
*sigh*
The problem now is my tab panel doesn't change tabs.
-
24 Feb 2012 12:40 PM #15
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).


Reply With Quote