Guest User

form appjs

a guest
Mar 14th, 2014
80
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. });
RAW Paste Data