Hello,

I have a form where I need to load the data from a Direct call, form is configured with the api for load and submit.

When I call
Code:
form.load({
     params: {
            foo:'bar'
     }
});
The data sent over the wire is:
Code:
{"action":"Profile","method":"getData","data":[null],"type":"rpc","tid":16}
if I call it direct like:

Code:
Profile.getData({
     params: {
            foo:'bar'
     }
});
the data sent over the wire is:
Code:
{"action":"Profile","method":"getData","data":[{"params":{"foo":"bar"}}],"type":"rpc","tid":8}
I rather use the form load and form submit methods instead of calling directly the direct fn. Any ideas why the form.load method doesn't send any data?