このバインディングステートメントの何が問題になっているのかわかりません。
css: { 'error': responseStatus < 0, 'success': responseStatus > 0 }
これが実際の例です:http://jsfiddle.net/awoehler/zEn3t/
サーバーはresponse.MESSAGEまたはresponse.ERRORのいずれかを含むJSON応答に応答し、受信した応答に基づいてクラスを適用したいと思います。
viewUserModel = {
serverResponse: ko.observable(),
responseStatus: ko.observable( 0 ), // -1, 0, or 1
displayServerResponse: ko.observable( false )
//....
}