Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
l ll
<aui:input type=checkbox
December 19, 2011 11:09 AM
Answer

l ll

Rank: Junior Member

Posts: 71

Join Date: December 12, 2011

Recent Posts

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