0

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?

Orkun Balkancı
  • 868
  • 1
  • 8
  • 19

2 Answers2

0

Perhaps its a syntax error: try

params: {"sendparams": Params}
Natkeeran
  • 1,719
  • 6
  • 29
  • 52
0

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

Orkun Balkancı
  • 868
  • 1
  • 8
  • 19