![]() Sencha Touch: Problems with Date Time Picker.Once I found out I could tie a function to a button without listening for a command I never looked back. The Controller can grab a reference to the View and update whatever it needs. The View is kept nice and clean and all the logic is in the Controller where it belongs. I listen for events in the Controller instead of launching events through the Application from the View and listening for them elsewhere. I want to listen for the Go key and submit the form, and I want the code to exist in the Controller, not the View. It's reliant on pressing the Log In button and then letting the code grab the values and move on. One thing I really wish it covered was submitting the form using the Go key on iPhone, or Enter key. There are a few things I wish it did better in terms of separating view and controller code, but you learn that stuff on the road. I followed a really great tutorial from Miami Coder used to build a login page. ![]() I'm in the process of refactoring some code from my first Sencha Touch project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |