Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Maruthi Kumari J N
alloy ui checkbox is not working in liferay EE 6.1
18 de abril de 2012 23:07
Respuesta

Maruthi Kumari J N

Ranking: Junior Member

Mensajes: 40

Fecha de incorporación: 13 de diciembre de 2011

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
RE: alloy ui checkbox is not working in liferay EE 6.1
20 de abril de 2012 0:19
Respuesta

Maruthi Kumari J N

Ranking: Junior Member

Mensajes: 40

Fecha de incorporación: 13 de diciembre de 2011

Mensajes recientes

can anybody provide solution

Thanks in advance

Regards,
Maruthi
Maruthi Kumari J N
RE: alloy ui checkbox is not working in liferay EE 6.1
24 de abril de 2012 1:56
Respuesta

Maruthi Kumari J N

Ranking: Junior Member

Mensajes: 40

Fecha de incorporación: 13 de diciembre de 2011

Mensajes recientes

hi,

can anybody provide solution?

Thanks in advance

Regards,
Maruthi
Maruthi Kumari J N
RE: alloy ui checkbox is not working in liferay EE 6.1
26 de abril de 2012 2:13
Respuesta

Maruthi Kumari J N

Ranking: Junior Member

Mensajes: 40

Fecha de incorporación: 13 de diciembre de 2011

Mensajes recientes

hi,

can anybody provide solution?

Thanks in advance

Regards,
Maruthi
Sebastian Wikholm
RE: alloy ui checkbox is not working in liferay EE 6.1
26 de abril de 2012 11:35
Respuesta

Sebastian Wikholm

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 10 de marzo de 2011

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