Hello everyone, I wish to get rid of the "choose one" option. Wich is
equivalent to null, if i'm not mistaken.

ddlSociete = new DropDownChoice<SocieteDto>("societe", new
PropertyModel<SocieteDto>(pointageMasseSearchDto, "societe"), new
LoadableDetachableModel<List&lt;SocieteDto>>() {
      @Override
      protected List<SocieteDto> load() {
        return societes;
      }
      
    }, new ChoiceRenderer<SocieteDto>("numeroLibelle", "numero"));

I was thinking about imposing a default value to replace the null one with
one from my List.
I tried everything i could find but nothing worked. It can't be that
complicated, can it ?

THanks in advance for your answers.

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to