3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
7 Ext.onReady(function() {
\r
8 var form = new Ext.form.FormPanel({
\r
11 url: 'save-form.php',
\r
14 align: 'stretch' // Child items are stretched to full width
\r
22 store: ['test@example.com', 'someone-else@example.com' ],
\r
23 plugins: [ Ext.ux.FieldReplicator, Ext.ux.FieldLabeler ],
\r
24 fieldLabel: 'Send To',
\r
27 plugins: [ Ext.ux.FieldLabeler ],
\r
28 fieldLabel: 'Subject',
\r
32 fieldLabel: 'Message text',
\r
35 flex: 1 // Take up all *remaining* vertical space
\r
39 var w = new Ext.Window({
\r
40 title: 'Compose message',
\r
49 bodyStyle: 'padding:5px;',
\r
50 buttonAlign: 'center',
\r