>> DropDownChoice<? extends BaseClass> dropDown = new DropDownChoice<? >> extends BaseClass>("id"); > > You can't instantiate with a wildcard type. That's not allowed by the > Java language.
Ah yes... I'm getting confused myself. So the real problem is that I instantiate new DropDownChoice<BaseClass>("id") but the method getChoiceRenderer() returns IChoiceRenderer<? extends BaseClass>() which is impractical. Now that's the problem. ** Martin --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org