Sorry for the multiple posting :( resending because of typos

As I can see ListView constructor signature was changed since 7.0.0-M3
it is now (latest 7.0.0-SNAPSHOT)
public ListView(final String id, final IModel<List<T>> model)
public ListView(final String id, final List<T> list)

was
public ListView(final String id, final IModel<? extends List<? extends T>>
model)
public ListView(final String id, final List<? extends T> list)

right now it is impossible to pass List<MySupertype> to ListView

Can this change be reverted? Or is there any workaround?


On 23 September 2014 21:57, Maxim Solodovnik <[email protected]> wrote:

> Hello All,
>
> As I can see ListView constructor signature was changed since 7.0.0-M3
> it is now
> public ListView(final String id, final IModel<? extends List<T>> model)
> public ListView(final String id, final List<T> list)
>
> was
> public ListView(final String id, final IModel<? extends List<? extends T>>
> model)
> public ListView(final String id, final List<? extends T> list)
>
> right now it is impossible to pass List<MySupertype> to listview
> Can this change be reverted? Or is there any workaround?
>
> Forwarded to dev@
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to