Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to Architect 2.2.

  • Loading branch information...
commit ce1117231c1e2ea6219edc5211b06ab5bb4310f9 1 parent 755d909
@lojjic lojjic authored
Showing with 535 additions and 592 deletions.
  1. BIN  area-chart.xda
  2. +5 −1 area-chart/app.js
  3. +1 −1  area-chart/app/store/MyStore.js
  4. +16 −17 area-chart/app/view/MyWindow.js
  5. +2 −5 area-chart/app/view/Viewport.js
  6. +3 −3 area-chart/area-chart.xds
  7. +1 −2  area-chart/metadata/Application
  8. +0 −1  area-chart/metadata/resource/Library
  9. +30 −27 area-chart/metadata/store/MyStore
  10. +26 −31 area-chart/metadata/view/MyWindow
  11. BIN  array-grid.xda
  12. +5 −1 array-grid/app.js
  13. +2 −2 array-grid/app/store/MyArrayStore.js
  14. +3 −6 array-grid/app/view/MyGridPanel.js
  15. +2 −5 array-grid/app/view/Viewport.js
  16. +3 −3 array-grid/array-grid.xds
  17. +1 −2  array-grid/metadata/Application
  18. +0 −1  array-grid/metadata/resource/Library
  19. +19 −20 array-grid/metadata/store/MyArrayStore
  20. +18 −19 array-grid/metadata/view/MyGridPanel
  21. BIN  check-tree.xda
  22. +5 −1 check-tree/app.js
  23. +1 −1  check-tree/app/store/MyJsonTreeStore.js
  24. +2 −2 check-tree/app/view/CheckTreePanel.js
  25. +2 −5 check-tree/app/view/Viewport.js
  26. +6 −5 check-tree/check-tree.xds
  27. +1 −2  check-tree/metadata/Application
  28. +0 −1  check-tree/metadata/resource/Library
  29. +8 −9 check-tree/metadata/store/MyJsonTreeStore
  30. +6 −7 check-tree/metadata/view/CheckTreePanel
  31. BIN  dynamic-form.xda
  32. +2 −2 dynamic-form/app.html
  33. +12 −3 dynamic-form/app.js
  34. +11 −12 dynamic-form/app/view/ComplexForm.js
  35. +3 −4 dynamic-form/app/view/ComplexLayoutForm.js
  36. +3 −3 dynamic-form/app/view/MyViewport.js
  37. +3 −4 dynamic-form/app/view/SimpleFieldsetsForm.js
  38. +3 −4 dynamic-form/app/view/SimpleForm.js
  39. +3 −4 dynamic-form/app/view/TabbedForm.js
  40. +4 −7 dynamic-form/app/view/Viewport.js
  41. +4 −4 dynamic-form/dynamic-form.xds
  42. +1 −2  dynamic-form/metadata/Application
  43. +0 −1  dynamic-form/metadata/resource/Library
  44. +43 −47 dynamic-form/metadata/view/ComplexForm
  45. +17 −22 dynamic-form/metadata/view/ComplexLayoutForm
  46. +6 −7 dynamic-form/metadata/view/MyViewport
  47. +18 −22 dynamic-form/metadata/view/SimpleFieldsetsForm
  48. +14 −17 dynamic-form/metadata/view/SimpleForm
  49. +22 −26 dynamic-form/metadata/view/TabbedForm
  50. BIN  editablegrid.xda
  51. +1 −1  editablegrid/app.html
  52. +1 −1  editablegrid/app.js
  53. +2 −2 editablegrid/app/model/Plant.js
  54. +2 −2 editablegrid/app/store/Plants.js
  55. +3 −8 editablegrid/app/view/PlantsGridPanel.js
  56. +2 −5 editablegrid/app/view/Viewport.js
  57. +3 −3 editablegrid/editablegrid.xds
  58. +1 −2  editablegrid/metadata/Application
  59. +20 −21 editablegrid/metadata/model/Plant
  60. +0 −1  editablegrid/metadata/resource/Library
  61. +6 −7 editablegrid/metadata/store/Plants
  62. +27 −29 editablegrid/metadata/view/PlantsGridPanel
  63. BIN  interactivity/controlleraction.xda
  64. +2 −2 interactivity/controlleraction/app.html
  65. +9 −5 interactivity/controlleraction/app.js
  66. +4 −4 interactivity/controlleraction/app/controller/MyController.js
  67. +3 −3 interactivity/controlleraction/app/view/MyPanel.js
  68. +4 −7 interactivity/controlleraction/app/view/Viewport.js
  69. +4 −4 interactivity/controlleraction/controlleraction.xds
  70. +3 −4 interactivity/controlleraction/metadata/Application
  71. +1 −2  interactivity/controlleraction/metadata/controller/MyController
  72. +0 −1  interactivity/controlleraction/metadata/resource/Library
  73. +5 −6 interactivity/controlleraction/metadata/view/MyPanel
  74. BIN  interactivity/eventbinding.xda
  75. +2 −2 interactivity/eventbinding/app.html
  76. +7 −3 interactivity/eventbinding/app.js
  77. +4 −4 interactivity/eventbinding/app/view/MyPanel.js
  78. +4 −7 interactivity/eventbinding/app/view/Viewport.js
  79. +4 −4 interactivity/eventbinding/eventbinding.xds
  80. +1 −2  interactivity/eventbinding/metadata/Application
  81. +0 −1  interactivity/eventbinding/metadata/resource/Library
  82. +4 −5 interactivity/eventbinding/metadata/view/MyPanel
  83. BIN  menu.xda
  84. +2 −2 menu/app.html
  85. +7 −3 menu/app.js
  86. +3 −3 menu/app/store/ComboStore.js
  87. +3 −3 menu/app/view/MyComboBox.js
  88. +3 −3 menu/app/view/MyPanel.js
  89. +4 −7 menu/app/view/Viewport.js
  90. +4 −4 menu/menu.xds
  91. +1 −2  menu/metadata/Application
  92. +0 −1  menu/metadata/resource/Library
  93. +6 −7 menu/metadata/store/ComboStore
  94. +2 −3 menu/metadata/view/MyComboBox
  95. +34 −35 menu/metadata/view/MyPanel
View
BIN  area-chart.xda
Binary file not shown
View
6 area-chart/app.js
@@ -1,7 +1,7 @@
/*
* File: app.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -18,6 +18,10 @@ Ext.Loader.setConfig({
});
Ext.application({
+
+ requires: [
+ 'MyApp.view.MyWindow'
+ ],
stores: [
'MyStore'
],
View
2  area-chart/app/store/MyStore.js
@@ -1,7 +1,7 @@
/*
* File: app/store/MyStore.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
View
33 area-chart/app/view/MyWindow.js
@@ -1,7 +1,7 @@
/*
* File: app/view/MyWindow.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -20,7 +20,6 @@ Ext.define('MyApp.view.MyWindow', {
autoShow: true,
height: 600,
width: 800,
- shadow: false,
layout: {
type: 'fit'
},
@@ -73,15 +72,6 @@ Ext.define('MyApp.view.MyWindow', {
axes: [
{
type: 'Numeric',
- fields: [
- 'data1',
- 'data2',
- 'data3',
- 'data4',
- 'data5',
- 'data6',
- 'data7'
- ],
grid: {
odd: {
opacity: 1,
@@ -92,21 +82,30 @@ Ext.define('MyApp.view.MyWindow', {
},
position: 'left',
title: 'Numeric Axis',
+ fields: [
+ 'data1',
+ 'data2',
+ 'data3',
+ 'data4',
+ 'data5',
+ 'data6',
+ 'data7'
+ ],
minimum: 0
},
{
type: 'Category',
+ grid: true,
+ title: 'Month of the Year',
fields: [
'name'
],
- grid: true,
label: {
rotate: {
degrees: 315
}
},
- position: 'bottom',
- title: 'Month of the Year'
+ position: 'bottom'
}
],
series: [
@@ -137,16 +136,16 @@ Ext.define('MyApp.view.MyWindow', {
me.callParent(arguments);
},
- onButtonClick: function(button, e, options) {
+ onButtonClick: function(button, e, eOpts) {
this.refreshData();
},
- onButtonToggle: function(button, pressed, options) {
+ onButtonToggle: function(button, pressed, eOpts) {
var chart = this.child('chart');
chart.animate = pressed ? {easing: 'ease', duration: 500} : false;
},
- onWindowAfterRender: function(abstractcomponent, options) {
+ onWindowAfterRender: function(component, eOpts) {
this.refreshData();
},
View
7 area-chart/app/view/Viewport.js
@@ -1,7 +1,7 @@
/*
* File: app/view/Viewport.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -15,8 +15,5 @@
Ext.define('MyApp.view.Viewport', {
extend: 'MyApp.view.MyWindow',
- renderTo: Ext.getBody(),
- requires: [
- 'MyApp.view.MyWindow'
- ]
+ renderTo: Ext.getBody()
});
View
6 area-chart/area-chart.xds
@@ -16,10 +16,10 @@
"appName": "MyApp",
"cssPath": ""
},
- "xdsVersion": "2.1.0",
- "xdsBuild": 670,
+ "xdsVersion": "2.2.0",
+ "xdsBuild": 840,
"schemaVersion": 1,
- "upgradeVersion": 210000000498,
+ "upgradeVersion": 210000000499,
"framework": "ext40",
"topInstanceFileMap": {
"2f0a83e9-cc8c-4aeb-b6d7-6f685decfa16": {
View
3  area-chart/metadata/Application
@@ -1,5 +1,5 @@
{
- "type": "application",
+ "type": "Ext.app.Application",
"reference": {
"name": "items",
"type": "array"
@@ -15,6 +15,5 @@
"autoCreateViewport": true,
"name": "MyApp"
},
- "id": "ExtBox1-ext-gen78246",
"designerId": "application"
}
View
1  area-chart/metadata/resource/Library
@@ -5,6 +5,5 @@
"type": "array"
},
"codeClass": null,
- "id": "ExtBox1-ext-gen1834",
"designerId": "464e301b-dd9d-4c4b-b030-b6874e6ff0be"
}
View
57 area-chart/metadata/store/MyStore
@@ -1,119 +1,122 @@
{
- "type": "store",
+ "type": "Ext.data.Store",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
+ "storeId": "MyStore",
"designer|userClassName": "MyStore",
- "storeId": "MyStore"
+ "data": "[{\"name\":\"January\",\"data1\":27,\"data2\":65,\"data3\":79,\"data4\":99,\"data5\":20,\"data6\":52,\"data7\":23,\"data8\":20,\"data9\":67},{\"name\":\"February\",\"data1\":28,\"data2\":45,\"data3\":21,\"data4\":21,\"data5\":99,\"data6\":77,\"data7\":80,\"data8\":75,\"data9\":92},{\"name\":\"March\",\"data1\":33,\"data2\":20,\"data3\":20,\"data4\":20,\"data5\":31,\"data6\":96,\"data7\":96,\"data8\":31,\"data9\":90},{\"name\":\"April\",\"data1\":97,\"data2\":20,\"data3\":46,\"data4\":60,\"data5\":20,\"data6\":87,\"data7\":88,\"data8\":90,\"data9\":89},{\"name\":\"May\",\"data1\":20,\"data2\":42,\"data3\":99,\"data4\":79,\"data5\":67,\"data6\":26,\"data7\":85,\"data8\":72,\"data9\":54},{\"name\":\"June\",\"data1\":20,\"data2\":94,\"data3\":79,\"data4\":20,\"data5\":28,\"data6\":49,\"data7\":20,\"data8\":67,\"data9\":60},{\"name\":\"July\",\"data1\":99,\"data2\":66,\"data3\":70,\"data4\":32,\"data5\":51,\"data6\":30,\"data7\":56,\"data8\":96,\"data9\":75},{\"name\":\"August\",\"data1\":42,\"data2\":59,\"data3\":23,\"data4\":54,\"data5\":29,\"data6\":68,\"data7\":20,\"data8\":67,\"data9\":48},{\"name\":\"September\",\"data1\":76,\"data2\":20,\"data3\":67,\"data4\":53,\"data5\":94,\"data6\":39,\"data7\":54,\"data8\":88,\"data9\":20},{\"name\":\"October\",\"data1\":58,\"data2\":23,\"data3\":23,\"data4\":59,\"data5\":63,\"data6\":29,\"data7\":20,\"data8\":20,\"data9\":25},{\"name\":\"November\",\"data1\":20,\"data2\":73,\"data3\":91,\"data4\":53,\"data5\":25,\"data6\":64,\"data7\":70,\"data8\":20,\"data9\":36},{\"name\":\"December\",\"data1\":20,\"data2\":57,\"data3\":20,\"data4\":28,\"data5\":50,\"data6\":20,\"data7\":59,\"data8\":51,\"data9\":47}]"
},
- "id": "ExtBox1-ext-gen14033",
+ "mockCfgs": [
+ "data"
+ ],
"designerId": "613a5e61-a5b9-4423-8837-9f746de96e01",
"cn": [
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField",
- "name": "name"
+ "name": "name",
+ "designer|userClassName": "MyField"
},
"designerId": "7529d9c3-45f9-4d19-bd31-165078cd5b28"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField1",
"name": "data1",
- "type": null
+ "type": null,
+ "designer|userClassName": "MyField1"
},
"designerId": "81af2745-9543-4c5e-9f12-5d2716aaff52"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField2",
- "name": "data2"
+ "name": "data2",
+ "designer|userClassName": "MyField2"
},
"designerId": "a8061a74-8ef6-463c-a588-0b5a3ee5eb61"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField3",
- "name": "data3"
+ "name": "data3",
+ "designer|userClassName": "MyField3"
},
"designerId": "77d026ef-a561-41bc-843d-327a1c0344d0"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField4",
- "name": "data4"
+ "name": "data4",
+ "designer|userClassName": "MyField4"
},
"designerId": "61fda478-94c8-4b24-9e85-942f6a99dd6f"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField5",
- "name": "data5"
+ "name": "data5",
+ "designer|userClassName": "MyField5"
},
"designerId": "b1af54dc-5c3a-4dad-81c9-647f48dfaa52"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField6",
- "name": "data6"
+ "name": "data6",
+ "designer|userClassName": "MyField6"
},
"designerId": "081f5d91-2173-4628-8963-859ab01639c3"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField7",
- "name": "data7"
+ "name": "data7",
+ "designer|userClassName": "MyField7"
},
"designerId": "d94cf916-436b-46f9-b994-b579e61e78f2"
}
View
57 area-chart/metadata/view/MyWindow
@@ -1,29 +1,25 @@
{
- "type": "window",
+ "type": "Ext.window.Window",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyWindow",
- "designer|userAlias": "mywindow",
- "designer|initialView": true,
"autoShow": true,
"height": 600,
"width": 800,
- "shadow": [
- "false"
- ],
+ "designer|userClassName": "MyWindow",
+ "designer|userAlias": "mywindow",
+ "designer|initialView": true,
"layout": "fit",
"title": "Area Chart",
"maximizable": true
},
- "id": "ExtBox1-ext-gen78299",
"designerId": "2f0a83e9-cc8c-4aeb-b6d7-6f685decfa16",
"cn": [
{
- "type": "toolbar",
+ "type": "Ext.toolbar.Toolbar",
"reference": {
"name": "dockedItems",
"type": "array"
@@ -36,7 +32,7 @@
"designerId": "416bb12b-d066-42b0-8cba-c710ad5aac01",
"cn": [
{
- "type": "button",
+ "type": "Ext.button.Button",
"reference": {
"name": "items",
"type": "array"
@@ -70,7 +66,7 @@
]
},
{
- "type": "button",
+ "type": "Ext.button.Button",
"reference": {
"name": "items",
"type": "array"
@@ -109,17 +105,17 @@
]
},
{
- "type": "chart",
+ "type": "Ext.chart.Chart",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyChart",
"height": 250,
"itemId": "chart",
"width": 400,
+ "designer|userClassName": "MyChart",
"animate": [
"true"
],
@@ -129,7 +125,7 @@
"designerId": "5644be3d-bd94-4680-9950-a6f69b3e3633",
"cn": [
{
- "type": "numericaxis",
+ "type": "Ext.chart.axis.Numeric",
"reference": {
"name": "axes",
"type": "array"
@@ -137,15 +133,6 @@
"codeClass": null,
"userConfig": {
"designer|userClassName": "MyNumericAxis",
- "fields": [
- "data1",
- "data2",
- "data3",
- "data4",
- "data5",
- "data6",
- "data7"
- ],
"grid": [
"{",
" odd: {",
@@ -158,12 +145,21 @@
],
"position": "left",
"title": "Numeric Axis",
+ "fields": [
+ "data1",
+ "data2",
+ "data3",
+ "data4",
+ "data5",
+ "data6",
+ "data7"
+ ],
"minimum": 0
},
"designerId": "af831918-d492-44b5-8f67-92658448335c"
},
{
- "type": "categoryaxis",
+ "type": "Ext.chart.axis.Category",
"reference": {
"name": "axes",
"type": "array"
@@ -171,22 +167,21 @@
"codeClass": null,
"userConfig": {
"designer|userClassName": "MyCategoryAxis",
- "fields": [
- "name"
- ],
"grid": [
"true"
],
+ "title": "Month of the Year",
+ "fields": [
+ "name"
+ ],
"label": [
"{\"rotate\":{\"degrees\":315}}"
- ],
- "position": "bottom",
- "title": "Month of the Year"
+ ]
},
"designerId": "ffc0b368-4f45-4c72-b6e7-5a7dd8786ad0"
},
{
- "type": "areaseries",
+ "type": "Ext.chart.series.Area",
"reference": {
"name": "series",
"type": "array"
View
BIN  array-grid.xda
Binary file not shown
View
6 array-grid/app.js
@@ -1,7 +1,7 @@
/*
* File: app.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -18,6 +18,10 @@ Ext.Loader.setConfig({
});
Ext.application({
+
+ requires: [
+ 'MyApp.view.MyGridPanel'
+ ],
stores: [
'MyArrayStore'
],
View
4 array-grid/app/store/MyArrayStore.js
@@ -1,7 +1,7 @@
/*
* File: app/store/MyArrayStore.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -250,8 +250,8 @@ Ext.define('MyApp.store.MyArrayStore', {
type: 'float'
},
{
- name: 'lastChange',
dateFormat: 'n/j h:ia',
+ name: 'lastChange',
type: 'date'
}
]
View
9 array-grid/app/view/MyGridPanel.js
@@ -1,7 +1,7 @@
/*
* File: app/view/MyGridPanel.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -25,15 +25,12 @@ Ext.define('MyApp.view.MyGridPanel', {
var me = this;
Ext.applyIf(me, {
- viewConfig: {
-
- },
columns: [
{
xtype: 'gridcolumn',
dataIndex: 'company',
- flex: 1,
- text: 'Company'
+ text: 'Company',
+ flex: 1
},
{
xtype: 'numbercolumn',
View
7 array-grid/app/view/Viewport.js
@@ -1,7 +1,7 @@
/*
* File: app/view/Viewport.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -15,8 +15,5 @@
Ext.define('MyApp.view.Viewport', {
extend: 'MyApp.view.MyGridPanel',
- renderTo: Ext.getBody(),
- requires: [
- 'MyApp.view.MyGridPanel'
- ]
+ renderTo: Ext.getBody()
});
View
6 array-grid/array-grid.xds
@@ -16,10 +16,10 @@
"appName": "MyApp",
"cssPath": ""
},
- "xdsVersion": "2.1.0",
- "xdsBuild": 670,
+ "xdsVersion": "2.2.0",
+ "xdsBuild": 840,
"schemaVersion": 1,
- "upgradeVersion": 210000000498,
+ "upgradeVersion": 210000000499,
"framework": "ext40",
"topInstanceFileMap": {
"fa466732-60ff-446d-94fb-f0f7d0b8c068": {
View
3  array-grid/metadata/Application
@@ -1,5 +1,5 @@
{
- "type": "application",
+ "type": "Ext.app.Application",
"reference": {
"name": "items",
"type": "array"
@@ -15,7 +15,6 @@
"autoCreateViewport": true,
"name": "MyApp"
},
- "id": "ExtBox1-ext-gen4448",
"designerId": "application",
"cn": [
{
View
1  array-grid/metadata/resource/Library
@@ -5,6 +5,5 @@
"type": "array"
},
"codeClass": null,
- "id": "ExtBox1-ext-gen1837",
"designerId": "20b3e781-b063-4238-82f5-7281bd7f93c4"
}
View
39 array-grid/metadata/store/MyArrayStore
@@ -6,16 +6,15 @@
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyArrayStore",
"autoLoad": true,
"storeId": "MyArrayStore",
+ "designer|userClassName": "MyArrayStore",
"data": "[\n['3m Co', 71.72, 0.02, 0.03, '9/1 12:00am'],\n['Alcoa Inc', 29.01, 0.42, 1.47, '9/1 12:00am'],\n['Altria Group Inc', 83.81, 0.28, 0.34, '9/1 12:00am'],\n['American Express Company', 52.55, 0.01, 0.02, '9/1 12:00am'],\n['American International Group, Inc.', 64.13, 0.31, 0.49, '9/1 12:00am'],\n['AT&T Inc.', 31.61, -0.48, -1.54, '9/1 12:00am'],\n['Boeing Co.', 75.43, 0.53, 0.71, '9/1 12:00am'],\n['Caterpillar Inc.', 67.27, 0.92, 1.39, '9/1 12:00am'],\n['Citigroup, Inc.', 49.37, 0.02, 0.04, '9/1 12:00am'],\n['E.I. du Pont de Nemours and Company', 40.48, 0.51, 1.28, '9/1 12:00am'],\n['Exxon Mobil Corp', 68.1, -0.43, -0.64, '9/1 12:00am'],\n['General Electric Company', 34.14, -0.08, -0.23, '9/1 12:00am'],\n['General Motors Corporation', 30.27, 1.09, 3.74, '9/1 12:00am'],\n['Hewlett-Packard Co.', 36.53, -0.03, -0.08, '9/1 12:00am'],\n['Honeywell Intl Inc', 38.77, 0.05, 0.13, '9/1 12:00am'],\n['Intel Corporation', 19.88, 0.31, 1.58, '9/1 12:00am'],\n['International Business Machines', 81.41, 0.44, 0.54, '9/1 12:00am'],\n['Johnson & Johnson', 64.72, 0.06, 0.09, '9/1 12:00am'],\n['JP Morgan & Chase & Co', 45.73, 0.07, 0.15, '9/1 12:00am'],\n['McDonald\\'s Corporation', 36.76, 0.86, 2.40, '9/1 12:00am'],\n['Merck & Co., Inc.', 40.96, 0.41, 1.01, '9/1 12:00am'],\n['Microsoft Corporation', 25.84, 0.14, 0.54, '9/1 12:00am'],\n['Pfizer Inc', 27.96, 0.4, 1.45, '9/1 12:00am'],\n['The Coca-Cola Company', 45.07, 0.26, 0.58, '9/1 12:00am'],\n['The Home Depot, Inc.', 34.64, 0.35, 1.02, '9/1 12:00am'],\n['The Procter & Gamble Company', 61.91, 0.01, 0.02, '9/1 12:00am'],\n['United Technologies Corporation', 63.26, 0.55, 0.88, '9/1 12:00am'],\n['Verizon Communications', 35.57, 0.39, 1.11, '9/1 12:00am'],\n['Wal-Mart Stores, Inc.', 45.45, 0.73, 1.63, '9/1 12:00am']\n]"
},
- "id": "ExtBox1-ext-gen4501",
"designerId": "f9590438-c918-48e1-b555-90f1e58755e3",
"cn": [
{
- "type": "memoryproxy",
+ "type": "Ext.data.proxy.Memory",
"reference": {
"name": "proxy",
"type": "object"
@@ -27,7 +26,7 @@
"designerId": "b6abd376-9558-4005-bffe-73ad6e71a47c",
"cn": [
{
- "type": "arrayreader",
+ "type": "Ext.data.reader.Array",
"reference": {
"name": "reader",
"type": "object"
@@ -41,72 +40,72 @@
]
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField",
- "name": "company"
+ "name": "company",
+ "designer|userClassName": "MyField"
},
"designerId": "4c75ba54-5a63-4ac2-8b60-d280fd0bd178"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField1",
"name": "price",
- "type": "float"
+ "type": "float",
+ "designer|userClassName": "MyField1"
},
"designerId": "6453a8ef-d239-44f0-98fd-ab1d535ce025"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField2",
"name": "change",
- "type": "float"
+ "type": "float",
+ "designer|userClassName": "MyField2"
},
"designerId": "d283c801-2c5e-4477-969e-f4f2fa87d71c"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField3",
"name": "pctChange",
- "type": "float"
+ "type": "float",
+ "designer|userClassName": "MyField3"
},
"designerId": "84e9901c-480b-4049-ba05-49b1520164db"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField4",
- "name": "lastChange",
"dateFormat": "n/j h:ia",
- "type": "date"
+ "name": "lastChange",
+ "type": "date",
+ "designer|userClassName": "MyField4"
},
"designerId": "49ef3ff9-d96d-4dac-a0d7-706183987464"
}
View
37 array-grid/metadata/view/MyGridPanel
@@ -1,23 +1,22 @@
{
- "type": "gridpanel",
+ "type": "Ext.grid.Panel",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyGridPanel",
- "designer|initialView": true,
"height": 350,
"width": 600,
+ "designer|userClassName": "MyGridPanel",
+ "designer|initialView": true,
"title": "Array Grid",
"store": "MyArrayStore"
},
- "id": "ExtBox1-ext-gen6252",
"designerId": "fa466732-60ff-446d-94fb-f0f7d0b8c068",
"cn": [
{
- "type": "gridview",
+ "type": "Ext.grid.View",
"reference": {
"name": "viewConfig",
"type": "object"
@@ -29,7 +28,7 @@
"designerId": "d26b2e25-2442-4595-bf02-c9e4eb98e8ff"
},
{
- "type": "gridcolumn",
+ "type": "Ext.grid.column.Column",
"reference": {
"name": "columns",
"type": "array"
@@ -38,81 +37,81 @@
"userConfig": {
"designer|userClassName": "MyColumn1",
"dataIndex": "company",
- "flex": 1,
- "text": "Company"
+ "text": "Company",
+ "flex": 1
},
"designerId": "e598a363-cf77-4780-b26b-72348d915c82"
},
{
- "type": "numbercolumn",
+ "type": "Ext.grid.column.Number",
"reference": {
"name": "columns",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyNumberColumn1",
"width": 75,
+ "designer|userClassName": "MyNumberColumn1",
"dataIndex": "price",
"text": "Price"
},
"designerId": "c7d5bbe3-6185-4d6f-84e3-cea98e54f142"
},
{
- "type": "numbercolumn",
+ "type": "Ext.grid.column.Number",
"reference": {
"name": "columns",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyNumberColumn2",
"width": 75,
+ "designer|userClassName": "MyNumberColumn2",
"dataIndex": "change",
"text": "Change"
},
"designerId": "71fa3eb5-a028-4445-a5b7-637ef8f05d39"
},
{
- "type": "numbercolumn",
+ "type": "Ext.grid.column.Number",
"reference": {
"name": "columns",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyNumberColumn3",
"width": 75,
+ "designer|userClassName": "MyNumberColumn3",
"dataIndex": "pctChange",
"text": "PctChange"
},
"designerId": "6400d5f3-0dcc-4156-ad4c-bdd237c57c99"
},
{
- "type": "datecolumn",
+ "type": "Ext.grid.column.Date",
"reference": {
"name": "columns",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyDateColumn1",
"width": 85,
+ "designer|userClassName": "MyDateColumn1",
"dataIndex": "lastChange",
"text": "LastChange"
},
"designerId": "682e9b76-5e55-4ebd-91d7-d5f73da23d31"
},
{
- "type": "actioncolumn",
+ "type": "Ext.grid.column.Action",
"reference": {
"name": "columns",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyActionColumn",
- "width": 50
+ "width": 50,
+ "designer|userClassName": "MyActionColumn"
},
"designerId": "2a4e9ca1-84eb-4201-8de8-75e2c3e8e6dc"
}
View
BIN  check-tree.xda
Binary file not shown
View
6 check-tree/app.js
@@ -1,7 +1,7 @@
/*
* File: app.js
*
- * This file was generated by Sencha Architect version 2.0.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -18,6 +18,10 @@ Ext.Loader.setConfig({
});
Ext.application({
+
+ requires: [
+ 'MyApp.view.CheckTreePanel'
+ ],
stores: [
'MyJsonTreeStore'
],
View
2  check-tree/app/store/MyJsonTreeStore.js
@@ -1,7 +1,7 @@
/*
* File: app/store/MyJsonTreeStore.js
*
- * This file was generated by Sencha Architect version 2.0.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
View
4 check-tree/app/view/CheckTreePanel.js
@@ -1,7 +1,7 @@
/*
* File: app/view/CheckTreePanel.js
*
- * This file was generated by Sencha Architect version 2.0.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -54,7 +54,7 @@ Ext.define('MyApp.view.CheckTreePanel', {
me.callParent(arguments);
},
- onButtonClick: function(button, e, options) {
+ onButtonClick: function(button, e, eOpts) {
var records = this.getView().getChecked(),
names = [];
View
7 check-tree/app/view/Viewport.js
@@ -1,7 +1,7 @@
/*
* File: app/view/Viewport.js
*
- * This file was generated by Sencha Architect version 2.0.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -15,8 +15,5 @@
Ext.define('MyApp.view.Viewport', {
extend: 'MyApp.view.CheckTreePanel',
- renderTo: Ext.getBody(),
- requires: [
- 'MyApp.view.CheckTreePanel'
- ]
+ renderTo: Ext.getBody()
});
View
11 check-tree/check-tree.xds
@@ -1,7 +1,7 @@
{
"name": "check-tree",
"settings": {
- "urlPrefix": "http://localhost/SenchaDesignerExamples/ext40/check-tree/",
+ "urlPrefix": "http://localhost/ExtSimpleExamples/check-tree/",
"spacesToIndent": 4,
"exportPath": "",
"sdkPath": "",
@@ -13,12 +13,13 @@
"senchaIoPath": "http://extjs.cachefly.net/designer/IO/",
"instantiateStore": true,
"saveOnDeploy": false,
- "appName": "MyApp"
+ "appName": "MyApp",
+ "buildShouldOverwriteIndex": true
},
- "xdsVersion": "2.1.0",
- "xdsBuild": 670,
+ "xdsVersion": "2.2.0",
+ "xdsBuild": 840,
"schemaVersion": 1,
- "upgradeVersion": 210000000498,
+ "upgradeVersion": 210000000499,
"framework": "ext40",
"topInstanceFileMap": {
"210fbfe1-6a19-44e9-a66c-998d552d87da": {
View
3  check-tree/metadata/Application
@@ -1,5 +1,5 @@
{
- "type": "application",
+ "type": "Ext.app.Application",
"reference": {
"name": "items",
"type": "array"
@@ -15,6 +15,5 @@
"autoCreateViewport": true,
"name": "MyApp"
},
- "id": "ExtBox1-ext-gen2023",
"designerId": "application"
}
View
1  check-tree/metadata/resource/Library
@@ -5,6 +5,5 @@
"type": "array"
},
"codeClass": null,
- "id": "ExtBox1-ext-gen2780",
"designerId": "b456b60c-fe30-4878-8ff0-14ab6692780c"
}
View
17 check-tree/metadata/store/MyJsonTreeStore
@@ -1,20 +1,19 @@
{
- "type": "treestore",
+ "type": "Ext.data.TreeStore",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyJsonTreeStore",
"autoLoad": true,
- "storeId": "MyJsonTreeStore"
+ "storeId": "MyJsonTreeStore",
+ "designer|userClassName": "MyJsonTreeStore"
},
- "id": "ExtBox1-ext-gen12152",
"designerId": "4b3a04fc-7d9a-48df-abfe-294fea59d8c6",
"cn": [
{
- "type": "ajaxproxy",
+ "type": "Ext.data.proxy.Ajax",
"reference": {
"name": "proxy",
"type": "object"
@@ -27,7 +26,7 @@
"designerId": "43a3aeec-0061-4419-9d8c-775b65e94e85",
"cn": [
{
- "type": "jsonreader",
+ "type": "Ext.data.reader.Json",
"reference": {
"name": "reader",
"type": "object"
@@ -41,15 +40,15 @@
]
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField",
- "name": "text"
+ "name": "text",
+ "designer|userClassName": "MyField"
},
"designerId": "e985789e-65c1-4cd8-b939-afc9b78b1a51"
}
View
13 check-tree/metadata/view/CheckTreePanel
@@ -1,26 +1,25 @@
{
- "type": "treepanel",
+ "type": "Ext.tree.Panel",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "CheckTreePanel",
- "designer|initialView": true,
"frame": true,
"height": 250,
"width": 200,
+ "designer|userClassName": "CheckTreePanel",
+ "designer|initialView": true,
"title": "Check Tree",
"store": "MyJsonTreeStore",
"rootVisible": false,
"useArrows": true
},
- "id": "ExtBox1-ext-gen8969",
"designerId": "210fbfe1-6a19-44e9-a66c-998d552d87da",
"cn": [
{
- "type": "treeview",
+ "type": "Ext.tree.View",
"reference": {
"name": "viewConfig",
"type": "object"
@@ -32,7 +31,7 @@
"designerId": "ec813396-a542-49b2-ba60-1014d68619ca"
},
{
- "type": "toolbar",
+ "type": "Ext.toolbar.Toolbar",
"reference": {
"name": "dockedItems",
"type": "array"
@@ -45,7 +44,7 @@
"designerId": "16f06239-d5c0-4f92-ae22-57bd8c7647dd",
"cn": [
{
- "type": "button",
+ "type": "Ext.button.Button",
"reference": {
"name": "items",
"type": "array"
View
BIN  dynamic-form.xda
Binary file not shown
View
4 dynamic-form/app.html
@@ -6,8 +6,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>dynamic-form</title>
- <script src="http://extjs.cachefly.net/ext-4.0.7-commercial/ext-all.js"></script>
- <link rel="stylesheet" href="http://extjs.cachefly.net/ext-4.0.7-commercial/resources/css/ext-all.css">
+ <script src="http://extjs.cachefly.net/ext-4.1.1-gpl/ext-all.js"></script>
+ <link rel="stylesheet" href="http://extjs.cachefly.net/ext-4.1.1-gpl/resources/css/ext-all.css">
<script type="text/javascript" src="app.js"></script>
</head>
<body></body>
View
15 dynamic-form/app.js
@@ -1,11 +1,11 @@
/*
* File: app.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -18,6 +18,15 @@ Ext.Loader.setConfig({
});
Ext.application({
+
+ requires: [
+ 'MyApp.view.ComplexForm',
+ 'MyApp.view.ComplexLayoutForm',
+ 'MyApp.view.SimpleForm',
+ 'MyApp.view.SimpleFieldsetsForm',
+ 'MyApp.view.TabbedForm',
+ 'MyApp.view.MyViewport'
+ ],
views: [
'ComplexForm',
'ComplexLayoutForm',
View
23 dynamic-form/app/view/ComplexForm.js
@@ -1,11 +1,11 @@
/*
* File: app/view/ComplexForm.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -109,23 +109,23 @@ Ext.define('MyApp.view.ComplexForm', {
items: [
{
xtype: 'textfield',
- name: 'home',
- fieldLabel: 'Home'
+ fieldLabel: 'Home',
+ name: 'home'
},
{
xtype: 'textfield',
- name: 'business',
- fieldLabel: 'Business'
+ fieldLabel: 'Business',
+ name: 'business'
},
{
xtype: 'textfield',
- name: 'mobile',
- fieldLabel: 'Mobile'
+ fieldLabel: 'Mobile',
+ name: 'mobile'
},
{
xtype: 'textfield',
- name: 'fax',
- fieldLabel: 'Fax'
+ fieldLabel: 'Fax',
+ name: 'fax'
}
]
},
@@ -151,7 +151,6 @@ Ext.define('MyApp.view.ComplexForm', {
{
xtype: 'toolbar',
dock: 'bottom',
- ui: 'footer',
items: [
{
xtype: 'tbfill'
View
7 dynamic-form/app/view/ComplexLayoutForm.js
@@ -1,11 +1,11 @@
/*
* File: app/view/ComplexLayoutForm.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -86,7 +86,6 @@ Ext.define('MyApp.view.ComplexLayoutForm', {
{
xtype: 'toolbar',
dock: 'bottom',
- ui: 'footer',
items: [
{
xtype: 'tbfill'
View
6 dynamic-form/app/view/MyViewport.js
@@ -1,11 +1,11 @@
/*
* File: app/view/MyViewport.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
View
7 dynamic-form/app/view/SimpleFieldsetsForm.js
@@ -1,11 +1,11 @@
/*
* File: app/view/SimpleFieldsetsForm.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -87,7 +87,6 @@ Ext.define('MyApp.view.SimpleFieldsetsForm', {
{
xtype: 'toolbar',
dock: 'bottom',
- ui: 'footer',
items: [
{
xtype: 'tbfill'
View
7 dynamic-form/app/view/SimpleForm.js
@@ -1,11 +1,11 @@
/*
* File: app/view/SimpleForm.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -58,7 +58,6 @@ Ext.define('MyApp.view.SimpleForm', {
{
xtype: 'toolbar',
dock: 'bottom',
- ui: 'footer',
items: [
{
xtype: 'tbfill'
View
7 dynamic-form/app/view/TabbedForm.js
@@ -1,11 +1,11 @@
/*
* File: app/view/TabbedForm.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -86,7 +86,6 @@ Ext.define('MyApp.view.TabbedForm', {
{
xtype: 'toolbar',
dock: 'bottom',
- ui: 'footer',
items: [
{
xtype: 'tbfill'
View
11 dynamic-form/app/view/Viewport.js
@@ -1,11 +1,11 @@
/*
* File: app/view/Viewport.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Ext JS 4.0.x library, under independent license.
- * License of Sencha Architect does not include license for Ext JS 4.0.x. For more
+ * This file requires use of the Ext JS 4.1.x library, under independent license.
+ * License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -15,8 +15,5 @@
Ext.define('MyApp.view.Viewport', {
extend: 'MyApp.view.MyViewport',
- renderTo: Ext.getBody(),
- requires: [
- 'MyApp.view.MyViewport'
- ]
+ renderTo: Ext.getBody()
});
View
8 dynamic-form/dynamic-form.xds
@@ -16,11 +16,11 @@
"appName": "MyApp",
"cssPath": ""
},
- "xdsVersion": "2.1.0",
- "xdsBuild": 670,
+ "xdsVersion": "2.2.0",
+ "xdsBuild": 840,
"schemaVersion": 1,
- "upgradeVersion": 210000000498,
- "framework": "ext40",
+ "upgradeVersion": 210000000499,
+ "framework": "ext41",
"topInstanceFileMap": {
"40a9bdb8-e68d-4cdf-9be4-80170950d154": {
"paths": [
View
3  dynamic-form/metadata/Application
@@ -1,5 +1,5 @@
{
- "type": "application",
+ "type": "Ext.app.Application",
"reference": {
"name": "items",
"type": "array"
@@ -17,6 +17,5 @@
"autoCreateViewport": true,
"name": "MyApp"
},
- "id": "ExtBox1-ext-gen3758",
"designerId": "application"
}
View
1  dynamic-form/metadata/resource/Library
@@ -5,6 +5,5 @@
"type": "array"
},
"codeClass": null,
- "id": "ExtBox1-ext-gen3719",
"designerId": "02ce0e84-bd46-4d58-b6bd-2f77cc388d15"
}
View
90 dynamic-form/metadata/view/ComplexForm
@@ -1,23 +1,22 @@
{
- "type": "form",
+ "type": "Ext.form.Panel",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "ComplexForm",
- "designer|userAlias": "complexform",
"height": 321,
"width": 552,
+ "designer|userClassName": "ComplexForm",
+ "designer|userAlias": "complexform",
"bodyPadding": 10,
"title": "Inner Tabs"
},
- "id": "ExtBox1-ext-gen48258",
"designerId": "bf1a0f8c-b532-4091-b840-140f6fd8fa77",
"cn": [
{
- "type": "container",
+ "type": "Ext.container.Container",
"reference": {
"name": "items",
"type": "array"
@@ -30,7 +29,7 @@
"designerId": "3e44afb0-9ce4-47d5-bc8a-cd5fff6e4935",
"cn": [
{
- "type": "container",
+ "type": "Ext.container.Container",
"reference": {
"name": "items",
"type": "array"
@@ -44,7 +43,7 @@
"designerId": "c2ef9d98-4262-453f-9624-718374c9d692",
"cn": [
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -58,7 +57,7 @@
"designerId": "f73b3d9e-8efe-4849-b12e-95e59da7acfa"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -74,7 +73,7 @@
]
},
{
- "type": "container",
+ "type": "Ext.container.Container",
"reference": {
"name": "items",
"type": "array"
@@ -88,7 +87,7 @@
"designerId": "33ec01c7-6cd9-49e6-8ad6-0e7a67f72df6",
"cn": [
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -102,7 +101,7 @@
"designerId": "4d9d3ed1-40f5-4962-b504-b5a7e7b28931"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -120,24 +119,24 @@
]
},
{
- "type": "tabpanel",
+ "type": "Ext.tab.Panel",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyTabPanel",
"border": null,
"height": 179,
"width": null,
+ "designer|userClassName": "MyTabPanel",
"activeTab": 0,
"plain": true
},
"designerId": "602fbd54-47af-443d-b13f-791ab62af160",
"cn": [
{
- "type": "panel",
+ "type": "Ext.panel.Panel",
"reference": {
"name": "items",
"type": "array"
@@ -151,7 +150,7 @@
"designerId": "98b1ba0d-c294-4d61-a6ff-3479dd1c05a8",
"cn": [
{
- "type": "tab",
+ "type": "Ext.tab.Tab",
"reference": {
"name": "tabConfig",
"type": "object"
@@ -163,7 +162,7 @@
"designerId": "6f684b29-b7cb-4793-923e-6c39a2ce8218"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -176,7 +175,7 @@
"designerId": "1d0e169d-e6ce-4581-82dc-7e7f3e80e4ef"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -189,7 +188,7 @@
"designerId": "89add2e6-6cf0-425c-b23c-b5f036c7df15"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -202,7 +201,7 @@
"designerId": "0b55ed29-4c4d-4257-95d1-61c17edfeedb"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -217,7 +216,7 @@
]
},
{
- "type": "panel",
+ "type": "Ext.panel.Panel",
"reference": {
"name": "items",
"type": "array"
@@ -231,7 +230,7 @@
"designerId": "c6cdc8e5-3a4e-4b44-8896-6d02218b2671",
"cn": [
{
- "type": "tab",
+ "type": "Ext.tab.Tab",
"reference": {
"name": "tabConfig",
"type": "object"
@@ -243,7 +242,7 @@
"designerId": "2d338da2-ab12-4955-a881-1a9671c69c26"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -251,13 +250,13 @@
"codeClass": null,
"userConfig": {
"designer|userClassName": "MyTextField20",
- "name": "home",
- "fieldLabel": "Home"
+ "fieldLabel": "Home",
+ "name": "home"
},
"designerId": "5b0cd973-13b2-4337-b6ef-5ea35466f38e"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -265,13 +264,13 @@
"codeClass": null,
"userConfig": {
"designer|userClassName": "MyTextField21",
- "name": "business",
- "fieldLabel": "Business"
+ "fieldLabel": "Business",
+ "name": "business"
},
"designerId": "c6f171cd-5695-41a2-9bb4-34c07ab1426a"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -279,13 +278,13 @@
"codeClass": null,
"userConfig": {
"designer|userClassName": "MyTextField22",
- "name": "mobile",
- "fieldLabel": "Mobile"
+ "fieldLabel": "Mobile",
+ "name": "mobile"
},
"designerId": "336364d1-b2ff-4ad4-8116-91bef970892e"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -293,15 +292,15 @@
"codeClass": null,
"userConfig": {
"designer|userClassName": "MyTextField23",
- "name": "fax",
- "fieldLabel": "Fax"
+ "fieldLabel": "Fax",
+ "name": "fax"
},
"designerId": "7942210c-cd7a-44f4-9db0-8846392cc195"
}
]
},
{
- "type": "panel",
+ "type": "Ext.panel.Panel",
"reference": {
"name": "items",
"type": "array"
@@ -315,7 +314,7 @@
"designerId": "3ae9a8f7-873f-4b2a-89af-a0b7593b68d8",
"cn": [
{
- "type": "tab",
+ "type": "Ext.tab.Tab",
"reference": {
"name": "tabConfig",
"type": "object"
@@ -327,20 +326,20 @@
"designerId": "06572e88-f1ef-4ef4-aaca-30f18f2aa7d1"
},
{
- "type": "htmleditor",
+ "type": "Ext.form.field.HtmlEditor",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyHTMLEditor1",
"height": 150,
"style": [
"background-color: white;"
],
- "name": "bio2",
- "fieldLabel": null
+ "designer|userClassName": "MyHTMLEditor1",
+ "fieldLabel": null,
+ "name": "bio2"
},
"designerId": "a37fb1d8-0106-452c-a5be-56828ce7f578"
}
@@ -349,7 +348,7 @@
]
},
{
- "type": "toolbar",
+ "type": "Ext.toolbar.Toolbar",
"reference": {
"name": "dockedItems",
"type": "array"
@@ -357,15 +356,12 @@
"codeClass": null,
"userConfig": {
"dock": "bottom",
- "designer|userClassName": "MyToolbar",
- "ui": [
- "footer"
- ]
+ "designer|userClassName": "MyToolbar"
},
"designerId": "e7ae6260-085b-4ca5-9c25-339c0d4602fc",
"cn": [
{
- "type": "tbfill",
+ "type": "Ext.toolbar.Fill",
"reference": {
"name": "items",
"type": "array"
@@ -378,7 +374,7 @@
"designerId": "fdef456f-4b75-4a68-9806-3f9722de0e6d"
},
{
- "type": "button",
+ "type": "Ext.button.Button",
"reference": {
"name": "items",
"type": "array"
@@ -392,7 +388,7 @@
"designerId": "51fa172e-34d1-472d-9074-d9bb59976884"
},
{
- "type": "button",
+ "type": "Ext.button.Button",
"reference": {
"name": "items",
"type": "array"
View
39 dynamic-form/metadata/view/ComplexLayoutForm
@@ -1,25 +1,23 @@
{
- "type": "form",
+ "type": "Ext.form.Panel",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "ComplexLayoutForm",
- "designer|userAlias": "complexlayoutform",
"frame": true,
"height": 357,
"width": 513,
+ "designer|userClassName": "ComplexLayoutForm",
+ "designer|userAlias": "complexlayoutform",
"bodyPadding": 10,
- "minButtonWidth": null,
"title": "Multi column, Nested Layouts and Anchoring"
},
- "id": "ExtBox1-ext-gen36004",
"designerId": "415d69c7-ca15-4743-86c0-8d89812d2e94",
"cn": [
{
- "type": "container",
+ "type": "Ext.container.Container",
"reference": {
"name": "items",
"type": "array"
@@ -32,7 +30,7 @@
"designerId": "b724841b-a91d-4a9a-a18a-2bbe3606d788",
"cn": [
{
- "type": "container",
+ "type": "Ext.container.Container",
"reference": {
"name": "items",
"type": "array"
@@ -46,7 +44,7 @@
"designerId": "5332ec68-4628-4f72-8cb8-2448ea144cee",
"cn": [
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -60,7 +58,7 @@
"designerId": "9afb4908-25ef-478a-9c2a-b78c456efb8f"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -76,7 +74,7 @@
]
},
{
- "type": "container",
+ "type": "Ext.container.Container",
"reference": {
"name": "items",
"type": "array"
@@ -90,7 +88,7 @@
"designerId": "b267f0b2-7e9f-4cd9-9def-b244a4ee0d34",
"cn": [
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -104,7 +102,7 @@
"designerId": "dd95e2c3-3ce0-4024-8167-ea633188dce3"
},
{
- "type": "textfield",
+ "type": "Ext.form.field.Text",
"reference": {
"name": "items",
"type": "array"
@@ -122,7 +120,7 @@
]
},
{
- "type": "htmleditor",
+ "type": "Ext.form.field.HtmlEditor",
"reference": {
"name": "items",
"type": "array"
@@ -130,17 +128,17 @@
"codeClass": null,
"userConfig": {
"layout|anchor": "100%",
- "designer|userClassName": "MyHTMLEditor",
"height": 200,
"style": [
"background-color: white;"
],
+ "designer|userClassName": "MyHTMLEditor",
"fieldLabel": "Label"
},
"designerId": "796fe67d-01f8-4f7e-b490-9399ff4f35d0"
},
{
- "type": "toolbar",
+ "type": "Ext.toolbar.Toolbar",
"reference": {
"name": "dockedItems",
"type": "array"
@@ -148,15 +146,12 @@
"codeClass": null,
"userConfig": {
"dock": "bottom",
- "designer|userClassName": "MyToolbar",
- "ui": [
- "footer"
- ]
+ "designer|userClassName": "MyToolbar"
},
"designerId": "368a5c4b-eabf-46ca-bc31-960cc3e4b458",
"cn": [
{
- "type": "tbfill",
+ "type": "Ext.toolbar.Fill",
"reference": {
"name": "items",
"type": "array"
@@ -169,7 +164,7 @@
"designerId": "2a7091f6-3de1-40e4-b409-46bc502a79bf"
},
{
- "type": "button",
+ "type": "Ext.button.Button",
"reference": {
"name": "items",
"type": "array"
@@ -183,7 +178,7 @@
"designerId": "eeb41001-7877-4035-89e3-145a0d3f9e17"
},
{
- "type": "button",
+ "type": "Ext.button.Button",
"reference": {
"name": "items",
"type": "array"
View
13 dynamic-form/metadata/view/MyViewport
@@ -1,5 +1,5 @@
{
- "type": "viewport",
+ "type": "Ext.container.Viewport",
"reference": {
"name": "items",
"type": "array"
@@ -10,7 +10,6 @@
"designer|initialView": true,
"autoScroll": true
},
- "id": "ExtBox1-ext-gen54630",
"designerId": "340476aa-6d5c-4bc9-a1b7-b24cad29bcd3",
"cn": [
{
@@ -21,7 +20,7 @@
},
"codeClass": null,
"designerId": "65ebb6e9-9533-4317-8c96-e010b926c3d9",
- "masterInstanceId": "ExtBox1-ext-gen28044"
+ "masterInstanceId": "40a9bdb8-e68d-4cdf-9be4-80170950d154"
},
{
"type": "linkedinstance",
@@ -31,7 +30,7 @@
},
"codeClass": null,
"designerId": "27015811-5683-4f82-b51a-04d3d4e4cd2f",
- "masterInstanceId": "ExtBox1-ext-gen31737"
+ "masterInstanceId": "cc8897bd-a2b0-45f8-8dbc-c6568a73e9b7"
},
{
"type": "linkedinstance",