HI,
suppose that your choices list is called choicesList and your
DropDownChoice is called options you should write something like:
options.setModelObject(choicesList.get(i));
How do I set the DropDownChoice to a particular choice (item) of the list?
My DropDownChoice has items X,Y,Z. I would like to set the currently
selected item to Y.
I have the method setChoices(..) which lets me initialize the list, but is
there a method to select an item by index?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org