문제

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?

도움이 되었습니까?

해결책 2

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

다른 팁

Perhaps its a syntax error: try

params: {"sendparams": Params}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top