1
2<aui:input name="check" label="1" type="checkbox" value="1"></aui:input>
3<aui:input name="check" label="2" type="checkbox" value="2"></aui:input>
The form sends both parameters, regardless of which fields are marked. What is wrong?
1
2int[] selectedColours = ParamUtil.getIntegerValues(actionRequest, "check");
3 for (int wer : selectedColours){
4 System.out.println(wer);
5 }
1
21
32
Please sign in to flag this as inappropriate.