[pve-devel] combo box help

Seth Lauzon seth.lauzon at gmail.com
Tue Jul 12 23:26:14 CEST 2011


Howdy Dietmar,

Wondering if you could help me with a little roadblock:

        me.column2 = [
            {  
                xtype: 'textfield',
                name: 'firstname',
                fieldLabel: 'First Name'
            },
            {  
                xtype: 'textfield',
                name: 'lastname',
                fieldLabel: 'Last Name'
            },
            new Ext.form.ComboBox({
                fieldLabel: 'Group',
                hiddenName: 'groupid',
                store: new Ext.data.Store({
                    model: 'combo-groups',
                    proxy: {
                        type: 'pve',
                        url: "/api2/json/access/groups"
                    },
                    sorters: {
                        property: 'groupid',
                        order: 'DESC'
                    }
                }),
                valueField: 'groupid',
                displayField: 'groupid',
                typeAhead: true,
                mode: 'local',
                triggerAction: 'all',
                emptyText: 'No Groups Selected',
                selectOnFocus: true
            })
        ];

When I click the combo box it gives the following error in javascript console:

groupsgroupsGET https://192.168.1.106:8006/api2/json/access/groups?query= 400 (Paramter verification failed.)


Thanks,
Seth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20110712/dc3097d6/attachment.htm>


More information about the pve-devel mailing list