views:

239

answers:

2

Everything seems to work fine until i want to submit the form and update the database.

Wildcard mapping works on requests like "/navigation/edit/1", but when i submit the form as:

var ajaxPost = function(Url, Params) {
        Ext.Ajax.request({
            url: Url,
            params: Params,
            method: 'POST',
            async: false,
            scope: this
        });
    };

it says "200 bad response: syntax error" and in firebug there is "Failed to load source for: http://.../Navigation/edit/1".

Any help?

A: 

Perhaps its a syntax error: try

params: {"sendparams": Params}
Natkeeran
A: 

it turns out there was a urlrewrite rule for some other web site corrupting my requests.

Orkun Balkancı