その前に 気がつけばインポート機能もできてるっぽいので試しにはてなブログで書いて見る事に。良さそうなら移行しよう。 状況 Ajax.BeginForm で UpdateTargetId を指定すると PartialView を返却するとそこに replace or append する挙動をする。それ自体はとても便利なのだが、当然ながら返している PartialView がエラーメッセージだろうが、結果だろうが同じ所にしか差し込めない。(UpdateTargetId で動的に変えられるのかな。) 今やりたいことは Ajax.BeginForm した先の controller でバリデーションチェックをしており、それが失敗したり、またはバリデーションは通るが、その後の DB への保存処理で失敗した場合はエラーメッセージを出す必要がある。また、逆に全て成功した場合には、一覧表の描画をリフレッシュ
Backbone.js deserves a lot of credit for bringing MVC to mainstream client-side Javascript development. That said, many beginners ask what the ‘right way’ of doing something with Backbone is. The bad news is that there’s not necessarily a ‘right way’ – it all depends on the problem you are trying to solve. The good news is that there are definitely some ‘wrong ways’ that you should avoid on your w
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く