Advertisement
Guest User

form appjs

a guest
Mar 14th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. //Stored in app.js
  2. Ext.application({
  3.  
  4. name: 'myapp',
  5.  
  6. requires: [
  7. 'Ext.MessageBox'
  8. ],
  9. controllers: [
  10. 'form1'
  11. ],
  12.  
  13. views: [
  14. 'Main',
  15. 'form1'
  16. ],
  17.  
  18.  
  19. launch: function() {
  20. var formPress = Ext.create('myapp.view.form1');
  21. Ext.Viewport.add(formPress);
  22. }
  23.  
  24. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement