警告: Parameters: Invalid chunk ignored.

来源:互联网 发布:nginx 配置 80端口 编辑:程序博客网 时间:2024/05/22 17:40
 

2007-9-1 0:17:26 org.apache.tomcat.util.http.Parameters processParameters
警告: Parameters: Invalid chunk ignored.

该问题提示参数异常,那是因为card_grid_ds.load();里面没有写上参数,所以远程这个要写true:remoteSort:true;

否这按照这样写:

remoteSort: false      对应   ds.load({params:{start:0, limit:myPageSize}});

remoteSort: true      对应   ds.load();

官网解释

Loads the Record cache from the configured Proxy using the configured Reader.

If using remote paging, then the first load call must specify the start and limit properties in the options.params property to establish the initial position within the dataset, and the number of Records to cache on each read from the Proxy.

It is important to note that for remote data sources, loading is asynchronous, and this call will return before the new data has been loaded. Perform any post-processing in a callback function, or in a "load" event handler.

原创粉丝点击