Foros de discusión

<aui:input type=checkbox

ildar i, modificado hace 12 años.

<aui:input type=checkbox

Regular Member Mensajes: 158 Fecha de incorporación: 12/12/11 Mensajes recientes

<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