gounis
27 Sep 2007, 6:06 AM
Hello,
I am using the DWRProxy of http://extjs.com/forum/showthread.php?t=5586&highlight=DWRProxy and it works fine. I want to add a paging toolbar to the grid's footer and I added the following code to the grid.js file:
var gridFoot = grid.getView().getFooterPanel(true);
// add a paging toolbar to the grid's footer
var paging = new Ext.PagingToolbar(gridFoot, ds, {
pageSize: 6,
displayInfo: true,
displayMsg: 'Displaying users {0} - {1} of {2}',
emptyMsg: "No topics to display",
});
First page is loaded using start:0 and limit:22 parameters and ['walter,true'] arguments
ds.load({params:{start:0, limit:6}, arg:['walter', true]})
When I try to load the second page, the java server-side throws an error : Missing method or missing parameter converters. I guess that when I use the toolbar, the parameters are passed to the server but not the arguments. How can I pass the arguments to the server using the toolbar?
I am using the DWRProxy of http://extjs.com/forum/showthread.php?t=5586&highlight=DWRProxy and it works fine. I want to add a paging toolbar to the grid's footer and I added the following code to the grid.js file:
var gridFoot = grid.getView().getFooterPanel(true);
// add a paging toolbar to the grid's footer
var paging = new Ext.PagingToolbar(gridFoot, ds, {
pageSize: 6,
displayInfo: true,
displayMsg: 'Displaying users {0} - {1} of {2}',
emptyMsg: "No topics to display",
});
First page is loaded using start:0 and limit:22 parameters and ['walter,true'] arguments
ds.load({params:{start:0, limit:6}, arg:['walter', true]})
When I try to load the second page, the java server-side throws an error : Missing method or missing parameter converters. I guess that when I use the toolbar, the parameters are passed to the server but not the arguments. How can I pass the arguments to the server using the toolbar?