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 exception: > > java.lang.ClassCastException: > com.inmethod.grid.common.AbstractPageableView$Query cannot be cast to > com.inmethod.grid.datagrid.DataGrid$IGridQuery > at > com.chesscom.web.common.dataprovider.DataProviderAdapter.query(DataProviderAdapter.java:82) > at > com.inmethod.grid.common.AbstractPageableView.initialize(AbstractPageableView.java:222) > at > com.inmethod.grid.common.AbstractPageableView.getItemModels(AbstractPageableView.java:411) > > In DataProviderAdapter.java, I found line: DataGrid grid = > ((DataGrid.IGridQuery) query).getDataGrid(); > > The current query can not be cast to IGridQuery. Is it a bug? > > Thanks, > Duy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org