Hi,

I'm trying to work out how to handle TextFilteredPropertyColumn with wicket 1.4.

I'm trying to do the following:

tf = new TextFilteredPropertyColumn<M>( new Model( "Name" ), COL_NAME, "name" ){
  protected IModel<String> getFilterModel( FilterForm form ) {
    return new PropertyModel<String>(
getDataProvider.getFilterState.getFilterMap( FilterMaps.LIKE ), getSortProperty 
)
  }
}

COL_NAME (= sort property) / Filter value are organized in a simple
HashMap<String,String>.

This worked fine with Wicket 1.3.x - Wicket 1.4 insists that getFilterModel
returns an IModel<M> - which is obscure, since the filter doesn't have to match
the Model of the Column.

Am I missing something?

Best regards, --- Jan.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to