Foros de discusión

alloy ui checkbox is not working in liferay EE 6.1

Maruthi Kumari J N, modificado hace 12 años.

alloy ui checkbox is not working in liferay EE 6.1

Junior Member Mensajes: 40 Fecha de incorporación: 14/12/11 Mensajes recientes
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, modificado hace 12 años.

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

Junior Member Mensajes: 40 Fecha de incorporación: 14/12/11 Mensajes recientes
can anybody provide solution

Thanks in advance

Regards,
Maruthi
Maruthi Kumari J N, modificado hace 11 años.

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

Junior Member Mensajes: 40 Fecha de incorporación: 14/12/11 Mensajes recientes
hi,

can anybody provide solution?

Thanks in advance

Regards,
Maruthi
Maruthi Kumari J N, modificado hace 11 años.

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

Junior Member Mensajes: 40 Fecha de incorporación: 14/12/11 Mensajes recientes
hi,

can anybody provide solution?

Thanks in advance

Regards,
Maruthi
Sebastian Wikholm, modificado hace 11 años.

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

Regular Member Mensajes: 104 Fecha de incorporación: 10/03/11 Mensajes recientes
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