Re: Wicket 6.5 CompoundPropertyModel constructor ambiguity

2013-01-28 Thread Eric Jablow
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

Re: Wicket 6.5 CompoundPropertyModel constructor ambiguity

2013-01-28 Thread Martin Grigorov
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

Re: Wicket 6.5 CompoundPropertyModel constructor ambiguity

2013-01-25 Thread Bas Gooren
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

Wicket 6.5 CompoundPropertyModel constructor ambiguity

2013-01-25 Thread Pieter Claassen
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