Sencha touch 如何在sencha touch中将FormValue传递给控制器

Sencha touch 如何在sencha touch中将FormValue传递给控制器,sencha-touch,Sencha Touch,当我尝试将FormPanel的值传递给控制器时,会收到错误消息 “对象#没有方法'getValues'” 如何在控制器对象中访问loginPanel.getValues()。当我使用Ext.getCmp('loginPanel').getValues(),问题已解决。当我使用Ext.getCmp('loginPanel').getValues()时,问题已解决。当我使用Ext.getCmp('loginPanel').getValues()时,问题已解决。当我使用Ext.getCmp('logi

当我尝试将FormPanel的值传递给控制器时,会收到错误消息

“对象#没有方法'getValues'”

如何在控制器对象中访问loginPanel.getValues()。

当我使用Ext.getCmp('loginPanel').getValues(),问题已解决。

当我使用Ext.getCmp('loginPanel').getValues()时,问题已解决。

当我使用Ext.getCmp('loginPanel').getValues()时,问题已解决。

当我使用Ext.getCmp('loginPanel').getValues(),问题已解决,问题解决了。
Ext.define('MyApp.view.LoginPage', {
extend: 'Ext.form.FormPanel',
id: 'loginPanel',
standardSubmit: true,
config: {
    fullscreen: true,
    items: [{
        xtype: 'fieldset',
        items: [
                {
                    xtype: 'textfield',
                    name: 'name',
                    label: 'Kullanıcı Adı'
                },
                {
                    xtype: 'passwordfield',
                    name: 'password',
                    label: 'Şifre'
                }