Thanks for the detailed post.
Uncheck a default view, this will cause the Ext.create not to be generated in the launch.
Originally Posted by andy370
You can then manually put that code in the launch method of Application (all inside of Architect)
Yes, I have those steps: 6.1. and 6.2. Perhaps it wasn't clear enough to others, so thanks for the reply.
The real reason I can't keep my Main_View.js in Architect is it has to be edited in a way that Architect won't allow as far as I can tell. Things such as extending 'Ext.ux.slidenavigation.View' when creating my Main_View.
Ah reading your post again I see that now.
You can link the Main_View.js file at the top right of the Inspector + then Resource then JS Resource.
Configure the url to the same relative url in your path and then you can unlock it and edit directly inside of Architect.
I've created an Architect version of this plugin, you just have to create a components folder, add the .xdc file and in Architect Edit => Import Component => Select the file and drop it to your View
I've made a small modification to the plugin to handle the ST routes system, so you can call child element of SlideNavigation items.
Ask me if you need more informations :-)
17 Nov 2012, 11:40 AM
Sencha Premium Member
Could you please give an example of how to create a basic setup (main view and slide navigation view) using the Architect plugin?
Thank you very much.
19 Nov 2012, 12:37 AM
If you use the plugin I uploaded (I hope it works well by the way), you just have to drag it to the view, and then add some child containers to it (panel, list, etc.).
You can create these containers inside or linked from outside the SlideNavigationView.
The seconde step is to add properties to these childs items :
Don't forget to add some groups to the SlideNavigationView (if you want to use groups).
- xtype (automatic)
- slideButton (the slideButton selector and id)
- title (the display title)
- group (from the group list defined on the SlideNav)
Important: This plugin currently doesn't work with the new ST2.1 release.
Future Architect Feature?
This question has probably been asked but do you think this can become an Architect feature in the near future? I'm also interested in seeing menu dropdown functionaliy in Architect (like the plugin shown in Sencha Market...).
Touch Premium Member
Do anyone have this working with 2.1.1?
Just read the note saying that it does not work with 2.1
Tags for this Thread