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 pieter.claas...@gmail.com wrote: When I try to create the following model after migrating to wicket 6.5.0 new

Re: Wicket 6.5 CompoundPropertyModel constructor ambiguity

2013-01-28 Thread Eric Jablow
On Fri, Jan 25, 2013 at 4:24 AM, Pieter Claassen pieter.claas...@gmail.com wrote: When I try to create the following model after migrating to wicket 6.5.0 new CompoundPropertyModelReportWebModel(reportWebModel) *where* ReportWebModel extends BaseWebModelReport *and* BaseWebModelT

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 CompoundPropertyModelReportWebModel(reportWebModel) *where* ReportWebModel extends BaseWebModelReport *and* BaseWebModelT implements IModel My IDE (Intellij) shows no problem with type checking the code but when I

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 CompoundPropertyModelReportWebModel(reportWebModel) instead of new CompoundPropertyModelReport(reportWebModel) since ReportWebModel extends BaseWebModelReport The CPM constructor expects either a type literal or a model. In your