Thanks for the helpful link, Martijn. For the sake of completeness,
here's
what I have ended up with:
ListString PagerSizesList = Arrays.asList(25, 50, 100);
ValueMap parameters = // ...
parameters.put(search-page-size, PagerSizesList.get(0));
form.setModel(new
How can I set the default value of a required DropDownChoice that
should not have null values?
private static final ListString PagerSizesList =
Arrays.asList(25, 50, 100);
// in constructor...
DropDownChoice pagerSizer = new DropDownChoice(search-page-size,
PagerSizesList);
Start by reading this: http://wicket.apache.org/exampledropdownchoice.html
On 3/19/08, Kaspar Fischer [EMAIL PROTECTED] wrote:
How can I set the default value of a required DropDownChoice that
should not have null values?
private static final ListString PagerSizesList =