我在 extjs 中使用了一个字段集并想提交值。现在我想用警报检查值,但我不知道我该怎么做。
{
"xtype": "fieldset",
"height": 377,
"id": "configurationDriversConfiguration",
"width": 648,
"layout": {
"type": "auto"
},
"collapsible": true,
"title": "Driver Configuration",
"items": [
{
"xtype": "button",
"id": "configurationDriversAdd",
"text": "Add"
},
{
"xtype": "button",
"id": "configurationDriversDelete",
"text": "Delete"
},
{
"xtype": "textfield",
"id": "configurationDriversCode",
"fieldLabel": "Driver Code"
},
{
"xtype": "textfield",
"id": "configurationDriversName",
"fieldLabel": "Driver Name"
},
{
"xtype": "textfield",
"id": "configurationDriversLicense",
"fieldLabel": "Driver License nr"
},
{
"xtype": "textfield",
"id": "configurationDriversGivenName",
"fieldLabel": "Driver Given Name"
},
{
"xtype": "textfield",
"id": "configurationDriversFamilyName",
"fieldLabel": "Driver Familiy Name"
},
{
"xtype": "textfield",
"id": "configurationDriversPhone",
"fieldLabel": "Driver Phone Nr"
},
{
"xtype": "textfield",
"id": "configurationDriversEmail",
"fieldLabel": "Driver Email"
},
{
"xtype": "combobox",
"id": "configurationDriversProvider",
"fieldLabel": "Provider",
"displayField": "name",
"store": "comboProviders",
"valueField": "id"
},
{
"xtype": "textareafield",
"id": "configurationDriversMemo",
"fieldLabel": "Memo"
},
{
"xtype": "button",
"height": 37,
"id": "configurationDriversSave",
"text": "Save"
}
]
}
是我的代码。当我单击保存时,我想查看所有值。我使用 Sencha Architect,但找不到处理程序