inmethod-grid bugs?

2011-07-06 Thread Duy Do
Hi all, I'm working on inmethod-grid to add a filter on top of it. Everything works fine if I don't navigate through other pages of the grid. Once I go to other page and filter the results, I get exception: java.lang.ClassCastException: com.inmethod.grid.common.AbstractPageableView$Query

Re: inmethod-grid bugs?

2011-07-06 Thread Martin Grigorov
Which version do you use ? On Wed, Jul 6, 2011 at 9:02 AM, Duy Do doquoc...@gmail.com wrote: Hi all, I'm working on inmethod-grid to add a filter on top of it. Everything works fine if I don't navigate through other pages of the grid. Once I go to other page and filter the results, I get

Re: inmethod-grid bugs?

2011-07-06 Thread Duy Do
Hi Martin, I use version 1.4.17. It's same in version 1.5-SNAPSHOT on wicketstuff. Thank you for your quick response. On 7/6/2011 2:07 PM, Martin Grigorov wrote: Which version do you use ? On Wed, Jul 6, 2011 at 9:02 AM, Duy Dodoquoc...@gmail.com wrote: Hi all, I'm working on

Re: inmethod-grid bugs?

2011-07-06 Thread Attila Király
Please open an issue in wicketstuff issuetracker at github for this. Thanks. On Jul 6, 2011 9:16 AM, Duy Do doquoc...@gmail.com wrote: Hi Martin, I use version 1.4.17. It's same in version 1.5-SNAPSHOT on wicketstuff. Thank you for your quick response. On 7/6/2011 2:07 PM, Martin Grigorov

Re: inmethod-grid bugs?

2011-07-06 Thread Attila Király
My guess is that you are using a custom DataProviderAdapter with a custom AbstractPageableView. If this is the case, the workaround is to override AbstractPageableView.wrapQuery() to wrap the IQuery into an IGridQuery similar to DataGridBody.Data.wrapQuery(). I am working on a solution to solve

Re: inmethod-grid bugs?

2011-07-06 Thread Duy Do
I just used DataProviderAdapter to wrap a custom SortableDataProvider with PagingToolbar. As your suggestion, I will try to override AbstractPageableView.wrapQuery() to wrap the current IQuery into IGridQuery. Thanks, Duy On 7/7/2011 5:00 AM, Attila Király wrote: My guess is that you are