In data Thursday 14 February 2013 12:59:05, Sven Meier ha scritto: > Then the DropDownChoice should work fine. > > Try to create a quickstart please.
You are so f***ing smart :) The quickstart just worked and showed me what I was doing wrong, basically this: District currentSelection = ... // retrieve current district from database if (currentSelection != null) myDropDownChoice.setModel(new CompoundPropertyModel(currentSelection)); which is a plain blunder because I was changing the model under the hood. The fix was quite easy: cut away those lines, since DropDownChoice already takes care of showing the currently selected item. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org