When I try to create the following model after migrating to wicket 6.5.0 new CompoundPropertyModel<ReportWebModel>(reportWebModel)
*where* ReportWebModel extends BaseWebModel<Report> *and* BaseWebModel<T> implements IModel My IDE (Intellij) shows no problem with type checking the code but when I try to compile it I get: java: reference to CompoundPropertyModel is ambiguous, both constructor CompoundPropertyModel(org.apache.wicket.model.IModel<T>) in org.apache.wicket.model.CompoundPropertyModel and constructor CompoundPropertyModel(T) in org.apache.wicket.model.CompoundPropertyModel match The problem goes away when I remove the generics but then I also lose the type checking. Any suggestions? Thanks, Pieter -- - - - - - - - - - - - - - - - - - - - - Pieter Claassen Musmato B.V. e: pieter.claas...@musmato.com t: +31 877 848259 w: http://musmato.com - - - - - - - - - - - - - - - - - - - -