| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | 
							- Ext.require([
 
-     'Ext.direct.*',
 
-     'Ext.form.Panel',
 
-     'Ext.form.field.Text',
 
-     'Ext.form.field.Number'
 
- ]);
 
- Ext.onReady(function(){
 
-     Ext.direct.Manager.addProvider(Ext.app.REMOTING_API);
 
-     
 
-     var form = Ext.create('Ext.form.Panel', {
 
-         width: 300,
 
-         height: 130,
 
-         renderTo: document.body,
 
-         bodyPadding: 5,
 
-         items: [{
 
-             xtype: 'textfield',
 
-             fieldLabel: 'First Name',
 
-             name: 'firstName',
 
-             value: 'Evan',
 
-             allowBlank: false
 
-         }, {
 
-             xtype: 'textfield',
 
-             fieldLabel: 'Last Name',
 
-             name: 'lastName',
 
-             value: 'Trimboli',
 
-             allowBlank: false
 
-         }, {
 
-             xtype: 'numberfield',
 
-             fieldLabel: 'Age',
 
-             name: 'age',
 
-             value: 25,
 
-             allowBlank: false
 
-         }],
 
-         dockedItems: [{
 
-             dock: 'bottom',
 
-             ui: 'footer',
 
-             xtype: 'toolbar',
 
-             items: ['->', {
 
-                 formBind: true,
 
-                 text: 'Send',
 
-                 handler: function(){
 
-                     var values = form.getForm().getValues();
 
-                     TestAction.showDetails(values, function(value){
 
-                         Ext.example.msg('Server Response', value);
 
-                     });
 
-                 }
 
-             }]
 
-         }]  
 
-     });
 
- });
 
 
  |