Hi,
i have the following codes for a dropdownchoice component.
List<String> isUserGender = Arrays.asList("M","F");
gender = new DropDownChoice("gender", new PropertyModel(User,"UserGender"),
isUserGender);
List<String> isUserDesignation = Arrays.asList("Operator","Custom officer",
"Warehouse Supervisor", "Top Management");
designa = new DropDownChoice ("design", new PropertyModel
(User,"UserDesignation"), isUserDesignation);
However, i encounterd the following error:
WicketMessage: unable to set object Top Management
Root cause:
wicket.WicketRuntimeException: no set method defined for value: Top
Management on object:
This error disappear after I ran the application a few times but it comes
back again after several tries.
Anyone knows how to solve this? thanks
--
View this message in context:
http://www.nabble.com/unable-to-set-object-for-dropdownchoice-tp18355243p18355243.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.