Foren

alloy ui checkbox is not working in liferay EE 6.1

Maruthi Kumari J N, geändert vor 12 Jahren.

alloy ui checkbox is not working in liferay EE 6.1

Junior Member Beiträge: 40 Beitrittsdatum: 14.12.11 Neueste Beiträge
hi,

i am using liferay EE 6.1. I am using the following code snippet to get the values of check box in action using request.getParameterValues("test")

<aui:input name="test" label="" type="checkbox" value="1" />
<aui:input name="test" label="" type="checkbox" value="2" />
<aui:input name="test" label="" type="checkbox" value="3" />
<aui:input name="test" label="" type="checkbox" value="4" />
<aui:input name="test" label="" type="checkbox" value="5" />

My requirement is i need to get only selected check box values on submit. but currently it is taking all check box values which is not correct.

any ideas.......................................................... help me

Regards,
Maruthi
Maruthi Kumari J N, geändert vor 12 Jahren.

RE: alloy ui checkbox is not working in liferay EE 6.1

Junior Member Beiträge: 40 Beitrittsdatum: 14.12.11 Neueste Beiträge
can anybody provide solution

Thanks in advance

Regards,
Maruthi
Maruthi Kumari J N, geändert vor 11 Jahren.

RE: alloy ui checkbox is not working in liferay EE 6.1

Junior Member Beiträge: 40 Beitrittsdatum: 14.12.11 Neueste Beiträge
hi,

can anybody provide solution?

Thanks in advance

Regards,
Maruthi
Maruthi Kumari J N, geändert vor 11 Jahren.

RE: alloy ui checkbox is not working in liferay EE 6.1

Junior Member Beiträge: 40 Beitrittsdatum: 14.12.11 Neueste Beiträge
hi,

can anybody provide solution?

Thanks in advance

Regards,
Maruthi
Sebastian Wikholm, geändert vor 11 Jahren.

RE: alloy ui checkbox is not working in liferay EE 6.1

Regular Member Beiträge: 104 Beitrittsdatum: 10.03.11 Neueste Beiträge
Because of some unexplainable reason they have invented the wheel again and turned everything upside down with the checkboxes. Read about it here

http://www.liferay.com/es/community/forums/-/message_boards/message/7285601

Basicly it sends each and every checkbox which has the value attributge set, and ive tried to get that thing to work for a category menu hook for a day. Have it working..almost, still having trouble with some checked inputs getting unchecked on form submit, when i intend to have them rechecked as the menu is rendered on form submit.

Ofcourse getting to find out these things takes about a days worth of backward engineering as everything is so well commented and documented emoticon