Hi all,

I have an issue with 4.1 everytime I try tu use Ext.Direct Form Api.
The issue in trace is :
Code:
[E] Ext.data.Connection.setOptions(): No URL specified
I seems that the api Url are not registered.

Could anyone help me on this ?
Is there a difference between define and create on those settings ?

Here's my form :
Code:
Ext.define(    'MINE.view.attribute.admin.attributes.Form',
    {
        extend  : 'Ext.form.Panel',
        xtype   : 'mine-view-attribute-admin-attributes-form',
        id      : 'mine-view-attribute-admin-attributes-form-id',
        
        defaultType     : 'textfield',
        paramsAsHash    : true,
        
        bodyPadding     : 5,
        border          : true,
        disabled        : true,
        
        items           :
        [
            { 
                xtype: 'textfield',
                name: 'name',
                fieldLabel: __('Name'),
                allowBlank: false
            }
        ],
        
        buttons :
        [
            {
                iconCls: 'icon-save',
                tooltip: __('Click here to save updates'),
                text: __('Update')
            }
        ],
        
        api: 
        {
            // The server-side method to call for load() requests
            load: eav.attributeRetrieve,
            // The server-side must mark the submit handler as a 'formHandler'
            submit: eav.attributeUpdate
        }
        
    }
);
Here's my load call
Code:
loadAdminAttributeForm: function(view, record, html, index, e, eOpts)    {
        Ext.getCmp('pim-view-attribute-admin-attributes-form-id').load({
            params: 
            {
                id: record.raw.id
            }
        });
    }