DropDownChoice wicket get value
问题 so I have my DropDownChoice in Wicket: final DropDownChoice drop_down_status = new DropDownChoice<String>("status", new PropertyModel<String>(this,"selected_status"), STATUS_LIST); form.add(drop_down_status); How to get the selected value? I have to get it after another button is pressed and prepare sql statement from it. drop_down_status.getRawInput() and drop_down_status.getInput() return null ( at least in my case). cheers 回答1: Since you are constructing your DropDownChoice using a