Hi Michael,
This is improved in Wicket 6.x to:
public <T, S> FilterToolbar(final DataTable<T, S> table, final
FilterForm<T> form,
final IFilterStateLocator<T> stateLocator)
T is the type of the model object
S is the type of the sorting parameter
Wicket 1.5.x cannot be changed because it is an API break.
On Thu, Jul 12, 2012 at 8:05 PM, Michael Mosmann <[email protected]> wrote:
> Hi,
>
> I am not sure, if the constructur of FilterToolbar should be changed
> from
>
> public <T> FilterToolbar(final DataTable<T> table, final FilterForm<T>
> form, final IFilterStateLocator<T> stateLocator)
>
> to
>
> public <T,F> FilterToolbar(final DataTable<T> table, final FilterForm<F>
> form, final IFilterStateLocator<F> stateLocator)
>
> ..
> As far as i could see, the type of form and statelocator are ignored
> anyway.
>
> Michael Mosmann
>
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com