wicket-select2 icon indicating copy to clipboard operation
wicket-select2 copied to clipboard

Change Select2Choice#convertInput() to use getRawInput()

Open ageery opened this issue 11 years ago • 0 comments

The Select2Choice#renderInitializationScript method calls hasRawInput(), which checks FormControl#rawInput. If there is raw input, Select2Choice then calls Select2Choice#convertInput(). Rather than using FormControl#getRawInput, it uses

getWebRequest().getRequestParameters().getParameterValue(getInputName())

This doesn't work in a wizard. Instead of getting the parameters from the url, the code should just use the rawInput and parse it.

ageery avatar Jan 20 '14 23:01 ageery