View Full Version : Navigation View MVC example
18 Dec 2011, 9:24 AM
is there any best practice for Ext.navigation.View in MVC architecture?
I'm wondering if anybody has a good example at github for example?
19 Dec 2011, 3:10 AM
We have done some work with NavigationView and MVC (Have a look at the webcams part in particular). Not sure if it is the good way of doing it.
NB: this is just a proof-of-concept.
19 Dec 2011, 4:50 AM
Thx for your reply, now I get an idea!!
3 Jan 2012, 12:34 PM
Hi Martin, thank you for sharing your code. By any chance have you tried your app in phonegap? I amd developing for phonegap, I have an MVC app, and it was working fine as with a Container at the viewport level. But I need to add Search capability, so I thought, "ok, i should probably factor things out one level so that the current top level container becomes one item in a navigation.View and then search can be another item in the navigation.View.
However, when I tried the minimalist approach of just changing my top view from Container to navigation.View, I just get a blank screen. So I am beginning to wonder if there might be some phonegap specific issues at work.
3 Jan 2012, 1:06 PM
to followup on my own question. It seems that having this code was giving me the white screen
That code is harmless at worst for a Container, but it seems it is a toxic combination for navigation.View. If I remove the layout: 'fit' , my view appears.
4 Jan 2012, 9:45 AM
I didn't try our application with PhoneGap, but thanks for your feedback!
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.