Created
October 17, 2012 21:22
-
-
Save forcementor/3908285 to your computer and use it in GitHub Desktop.
Developing Mobile…Force.com and Sencha-Part 2, Step 4: Add Controller Event Handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config: { | |
| refs: { | |
| // We're going to lookup our views by alias. | |
| leadsListView: "leadslistview", | |
| leadEditorView: "leadeditorview", | |
| leadsList: "#leadsList" | |
| }, | |
| control: { | |
| leadsListView: { | |
| // The commands fired by the list container. | |
| syncLeadCommand: "onSyncLeadCommand", | |
| newLeadCommand: "onNewLeadCommand", | |
| editLeadCommand: "onEditLeadCommand" | |
| }, | |
| leadEditorView: { | |
| // The commands fired by the note editor. | |
| saveLeadCommand: "onSaveLeadCommand", | |
| deleteLeadCommand: "onDeleteLeadCommand", | |
| backToHomeCommand: "onBackToHomeCommand" | |
| } | |
| } | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment