> You are so f***ing smart :)

Sometimes :P.

Sven

On 02/15/2013 04:43 PM, Lucio Crusca wrote:
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: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to