關於DataSource返回值


今天在用smartgwt的datasource的時候,debug模式一直遇到這個錯誤, 剛開始沒留心看, 後來才注意到如果要用datasource一定要有返回值的, 查看阿三寫的代碼髮型spring controller層沒有任何返回, 於是加上對應返回後問題遍不再存在了!

the default RestDataSource requires some tags in it, even if there are no results.

or it will get error amessage like this - 17:39:30.320 [ERROR] [...] 17:39:30.321:XRP2:WARN:RestDataSource:isc_PagedRes tDataSource_0:Evaluating JSON reply resulted in empty value. JSON text: "" - in a Development Mode console.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章