Hi all,

I use the form api to retrieve data from a specific item id.
The extdirect call is well sent and return to/from the server, except my "data" parameter is always set to null.
I have tried many ways without success.

If anyone has a clue, he'll save my day !

Here's my FORM
Code:
Ext.define('PIM.view.article.Form', 
{
    extend      : 'Ext.form.Panel', 
    xtype       : 'pim-view-article-form',
    id          : 'pim-view-article-form-id',
    autoScroll  : true,
    
    initComponent: function()
    {
        Ext.apply(this,
        {
            bodyPadding         : 5,
            border              : false,
            flex                : 1,
            defaultType         : 'textfield',
            items               : 
            [
                {
                    xtype       : 'hidden',
                    name        : 'id'
                },
				...
            ]
        });
        this.callParent(arguments);
    },
    
    
    
    constructor: function (config) 
    {
        Ext.applyIf(config, 
        {
            trackResetOnLoad: true,
            api: 
            {
                load    : article.retrieve,
                submit  : article.update
            },
        });
        this.callParent(arguments);
    }
    
});
Here's my call
Code:
Ext.getCmp('pim-view-article-form-id').load({ params: { id : record.raw.id } });
Here's the result
Code:
{"action":"article","method":"retrieve","data":[null],"type":"rpc","tid":6}