Fórumok
<aui:input type=checkbox
ildar i, módosítva 12 év-val korábban
<aui:input type=checkbox
Regular Member Bejegyzések: 158 Csatlakozás dátuma: 2011.12.12. Legújabb bejegyzések
<aui:input name="check" label="1" type="checkbox" value="1"></aui:input>
<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?
int[] selectedColours = ParamUtil.getIntegerValues(actionRequest, "check");
for (int wer : selectedColours){
System.out.println(wer);
}
1
2