On Fri, Jan 25, 2013 at 4:24 AM, Pieter Claassen
wrote:
> When I try to create the following model after migrating to wicket 6.5.0
>
> new CompoundPropertyModel(reportWebModel)
>
> *where*
>
> ReportWebModel extends BaseWebModel
>
> *and*
>
> BaseWebModel implements IModel
>
> My IDE (Intellij) sh
I believe that this question has been asked recently and it got a response.
http://markmail.org/thread/rfcqarnvct3t2gh3
On Fri, Jan 25, 2013 at 11:24 AM, Pieter Claassen wrote:
> When I try to create the following model after migrating to wicket 6.5.0
>
> new CompoundPropertyModel(reportWebMod
Well, from the looks of it it's a bit odd that you write
new CompoundPropertyModel(reportWebModel)
instead of
new CompoundPropertyModel(reportWebModel)
since ReportWebModel extends BaseWebModel
The CPM constructor expects either a type literal or a model. In your
case it is both, and you tel
When I try to create the following model after migrating to wicket 6.5.0
new CompoundPropertyModel(reportWebModel)
*where*
ReportWebModel extends BaseWebModel
*and*
BaseWebModel implements IModel
My IDE (Intellij) shows no problem with type checking the code but when I
try to compile it I get