Wicket DropDownChoice Integer

191 views Asked by At

I have problem with Wicket DropDownChoice. The DropDownChoice does not show values for Integer. wicket version: 1.5.7

DropDownChoice<Integer> rEvalFormVersion = new DropDownChoice<Integer>("evalForm.version", EVAL_FORM_VERSIONS);

where EVAL_FORM_VERSIONS is list of versions.

For example: In the list are two versions, DropDownChoice is populated by two choices but nothing is shown. Btw: Another data types work good.

In the near future we will update Wicket to a new version. Is this problem in Wicket 6 or can I simply just wait for new version?

1

There are 1 answers

0
Stijn Geukens On

Looking at the wicket examples (and from experience) this should simply work. In the example they do define an IChoiceRenderer for the DropDownChoice.