[ 
https://issues.apache.org/jira/browse/WICKET-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg resolved WICKET-2676.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

dont see how that is possible. please provide a quickstart that reproduces this 
behavior. i will close this issue until then.

> DataTable defines newCellItem to take IModel<T> but should really do 
> IModel<IColumn<T>>
> ---------------------------------------------------------------------------------------
>
>                 Key: WICKET-2676
>                 URL: https://issues.apache.org/jira/browse/WICKET-2676
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.5
>            Reporter: Robert Dahlström
>            Assignee: Igor Vaynberg
>
> The generics support in DataTable seems to not work entirely correctly:
> In the below the override for newCellItem actually gets a Model<IColumn> 
> model, not a Model<T>, so perhaps it should be changed.
> do new AjaxFallbackDefaultDataTable<SomeClass>() {
>    @Override
>    protected Item<SomeClass> newRowItem(String id, int index, 
> IModel<SomeClass> model) {}
>   @Override
>   protected Item<SomeClass> newCellItem(String id, int index, 
> IModel<SomeClass> model) {
>      // Model here is not Model<SomeClass> but Model<IColumn<SomeClass>>
>   }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to