Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Select2Choice#convertInput() to use getRawInput() #79

Open
ageery opened this issue Jan 20, 2014 · 0 comments
Open

Change Select2Choice#convertInput() to use getRawInput() #79

ageery opened this issue Jan 20, 2014 · 0 comments

Comments

@ageery
Copy link

ageery commented Jan 20, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant